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