コード例 #1
0
 public IActionResult GetAll()
 {
     try
     {
         return(Ok(clienteApplicationService.GetAll()));
     }
     catch (Exception e)
     {
         return(StatusCode(500, e.Message));
     }
 }
コード例 #2
0
 public IHttpActionResult Get()
 {
     return(Ok(_appService.GetAll()));
 }