Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public IActionResult AddRole(string employeeId, int roleId) { if (_permissionServices.AddRoleForEmployee(roleId, employeeId)) { ViewData["Success"] = true; } ViewData["EmployeeId"] = new SelectList(_permissionServices.GetAllRole(), "RoleId", "RoleTitle", 0); return(View()); }