예제 #1
0
 public IActionResult Find()
 {
     try
     {
         var result = _service.List();
         return(Ok(result));
     }
     catch (Exception ex)
     {
         return(StatusCode(500, ex.Message));
     }
 }