Example #1
0
 public async Task <JsonResult> DeleteUser(int idUser)
 {
     return(new JsonResult(await _usersBusiness.DeleteUser(idUser)));
 }
Example #2
0
 public async Task <bool> DeleteUser(long userId)
 {
     return(await _usersBusiness.DeleteUser(userId));
 }