public ActionResult Edit(Role role) { _service.UpdateRole(role.ToBllRole()); return RedirectToAction("Index"); }
public override void CreateRole(string roleName) { Roles newRole = new Roles() { Name = roleName }; _roleService.CreateRole(newRole.ToBllRole()); }
public ActionResult Create(Role role) { _service.CreateRole(role.ToBllRole()); return RedirectToAction("Index"); }