public ActionResult RemoveOwner(int id, int userId) { CurrentUserModel.ValidateProject(id); CurrentUserModel.RemoveProjectOwner(id, userId); return(RedirectToAction("Index", new { id = id })); }
public ActionResult RemoveOwner(int id, int userId) { CurrentUserModel.ValidateProject(id); CurrentUserModel.RemoveProjectOwner(id, userId); return(RedirectToAction("Index", new { id = id })); }