public ActionResult ManageRoles() { SecurityBusiness securityBusiness = new SecurityBusiness(); ViewBag.roles = securityBusiness.GetListRoles(); return(View("ManageRoles")); }
public ActionResult Security() { SecurityBusiness securityBusiness = new SecurityBusiness(); ViewBag.roles = securityBusiness.GetListRoles(); ViewBag.userRoles = securityBusiness.GetListUsersRoles(); return(View("Security")); }