How can I access to the session from the Model?
I try to use:
public IQueryable<EstudentsViewModel> GetEstudentsProjected(decimal? Code)
{
.
.
.
decimal id;
id = (decimal)Session["Consul"];
.
.
.
}
Appear: The name 'Session' does not exist in the current context