public ActionResult Edit(Profile data) { _repo.AdminEditProfile(data); return(RedirectToAction("List", "Profile", new { @id = data.ProfileId })); }