// GET: Pubs public ActionResult Pubs() { Client client = repo.GetDataClient(int.Parse(HttpContext.User.Identity.Name)); Session["User"] = client; return(View(repo.GetPubs(client.Id_Client))); }