Exemple #1
0
 public IActionResult getCliente()
 {
     try
     {
         return(new JsonResult(_servicio.GetCliente())
         {
             StatusCode = 200
         });
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }