コード例 #1
0
 //[Route("users/{id:int}")]
 public object Delete(int id)
 {
     try
     {
         return(_supervisor.DeleteUser(id));
     }
     catch (Exception ex)
     {
         _logger.LogError(ex, "Exception: ");
         return(StatusCode(500, ex));
     }
 }