public ActionResult EditRole(int id) { var db = new RoleBusiness(); var result = db.GetRoleSystemById(id); ViewBag.id = id; return(PartialView(result)); }
public ActionResult InformationRoleSystem(int id) { var db = new RoleBusiness(); var result = db.GetRoleSystemById(id); ViewBag.id = id; ViewBag.name = result.RoleName; return(View()); }