public IActionResult Delete(string id) { RoleRepo roleRepo = new RoleRepo(_context); return(View(roleRepo.GetRole(id))); }
//Edit public ActionResult Edit(int id) { return(PartialView("_Edit", RoleRepo.GetRole(id))); }
public ActionResult Deactive(int id) { return(PartialView("_Deactive", RoleRepo.GetRole(id))); }
public int Get(string userId) { return(_rRepo.GetRole(userId)); }