示例#1
0
 public async Task <ActionResult> AgregarProducto(List <ProductoDto> newProducto)
 {
     try
     {
         return(Ok(await iProductosService.AgregarProducto(newProducto)));
     }
     catch (Exception ex)
     {
         return(Ok(ex.ToString()));
     }
 }