public IActionResult EndDeleteEmployee(string id)
 {
     UsersDataService.Delete(id);
     return(RedirectToAction("Index"));
 }
示例#2
0
 public async Task <int> DeleteAsync(int userId)
 {
     return(await _userService.Delete(userId));
 }