public async Task <List <DetalleVenta> > GetVentaDetalle([FromBody] DetalleVenta detalleVenta) { var context = new AccesoVentas(); return(await context.GetDetalleVenta(detalleVenta.VentaId)); }
public async Task <List <Venta> > GetVentas() { var context = new AccesoVentas(); return(await context.GetVentasAnsync()); }