public ActionResult Details(int id) { if (!user.IsAdmin()) { return(View("Error")); } return(View(managerDal.GetManager(id))); }