コード例 #1
0
 public IActionResult Post(VentaDTOs venta)
 {
     try
     {
         return(new JsonResult(_servicio.CrearVenta(venta))
         {
             StatusCode = 201
         });
     }
     catch (Exception)
     {
         throw;
     }
 }