Exemplo n.º 1
0
        public static Task <decimal> ObtenerTotalAsync(int idSucursal, DateTime fechaDesde, DateTime fechaHasta, Boolean?facturado, TipoPago?tipoPago, TipoCliente?tipoCliente)
        {
            IVentaRepository ventaRepository = new VentaRepository(new VentaContext());

            return(ventaRepository.ObtenerTotalAsync(idSucursal, fechaDesde, fechaHasta, facturado, tipoPago, tipoCliente));
        }