public ActionResult Delete(int id) { var userId = _majorService.DeleteMajor(id); return(RedirectToAction("Index", new { UserId = userId })); }