// GET: _Nav public ActionResult _Nav() { if (HttpContext.User.Identity.IsAuthenticated) { return(PartialView(repo.GetCliente(int.Parse(HttpContext.User.Identity.Name)))); } return(PartialView()); }