示例#1
0
 public void TestObtenerGastos()
 {
     InformeVentaRepository repository = new InformeVentaRepository(new VentaContext());
     var informeVenta = repository.InformeGastos(new List <int>()
     {
         2, 27, 30, 32, 33, 34, 41, 42, 43, 44
     },
                                                 new DateTime(1990, 1, 1),
                                                 new DateTime(2030, 1, 1));
 }
示例#2
0
 public void TestObtenerMercaderia()
 {
     int cantidad = 0;
     InformeVentaRepository repository = new InformeVentaRepository(new VentaContext());
     var informeVenta = repository.InformeMercaderia(new List <int>()
     {
         2, 27, 30, 32, 33, 34, 41, 42, 43, 44
     },
                                                     new DateTime(1990, 1, 1),
                                                     new DateTime(2030, 1, 1), "Cantidad", OrdenadoDireccion.DESC, 10, 1, out cantidad);
 }