This is the error you are giving:
Thisistheerrorlineinmycshtml
@(newHtmlString((SessaoUtil.Recuperar("TagGoogle") != null ? SessaoUtil.Recuperar("TagGoogle").ToString() : "")))
This is my using in my cshtml
@model AgaxTurSiteOficial.Entities.PackageSearchInfo
This is my PackageSearchInfo class
public class PackageSearchInfo
{
public int chkpacotesroteiros { get; set; }
public int chkaereo { get; set; }
public int chkhotel { get; set; }
public int chkaluguelcarro { get; set; }
public int chkcruzeiros { get; set; }
public int chkingressos { get; set; }
public int chkseguro { get; set; }
public string txtDestino { get; set; }
public string txtOrigem { get; set; }
public string mesViagem { get; set; }
public string datIda { get; set; }
public string datVolta { get; set; }
public int intAdultos { get; set; }
public int intCriancas { get; set; }
public int quaAdulto { get; set; }
public int quaCrianca { get; set; }
public int quaMaisCinco { get; set; }
public int idGeoAreDestino { get; set; }
public int idGeoAreOrigem { get; set; }
public string idPacotes { get; set; }
public string SubMit { get; set; }
public string localPagina { get; set; }
public string[] passos { get; set; }
}
I honestly have another cshtml, with the same information that works. This is the default for all our pages. I'm checking the other pages, to find out where it's different, but I can not find anything. Of course something is missing, but I do not know what it is. I put everything to try to help colleagues, giving as much information, because helping the distance I know it's bone. If you are missing any more relevant information, just ask me to edit the post and send it.
Excuse me for the wrong information. The error line in my CSHTML is this.on top of Model.chkpottacks! = 0:
@{
if (Model.chkpacotesroteiros != 0)
{
@Model.mesViagem
}
else
{
@Model.datIda @:<br />a @Model.datVolta
}
}