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