示例#1
0
 public async Task <IActionResult> Delete(int id)
 {
     if (!await _service.DeleteUser(id))
     {
         return(StatusCode(404));
     }
     return(StatusCode(200));
 }