public ActionResult StaffDetails(int id) { if (id > 0) { Staff Staff = StaffService.FindById(id, User.Identity.Name); return(View("Partial/StaffDetails", Staff)); } return(View()); }