Exemple #1
0
        private static void TestGetAllProductsFromJson()
        {
            var context = new WMContext();
            //var response = new EfGetProductsCommand(context).ReadFromJson();

            //response.Should().NotBeEmpty();
        }
Exemple #2
0
 public EfEditProductCommand(WMContext context) : base(context)
 {
     Manufacturers       = new EfAddProductManufacturersCommand(context);
     Suppliers           = new EfAddProductSuppliersCommand(context);
     DeleteSuppliers     = new EfDeleteProductSuppliersCommand(context);
     DeleteManufacturers = new EfDeleteProductManufacturersCommand(context);
 }
Exemple #3
0
        private static void TestGetAllProductsFromDatabase()
        {
            var context  = new WMContext();
            var response = new EfGetProductsCommand(context).Execute();

            response.Should().NotBeEmpty();
        }
Exemple #4
0
 public EfGetProductCommand(WMContext context) : base(context)
 {
     Suppliers     = new EfGetProductSuppliers(context);
     Manufacturers = new EfGetProductManufacturers(context);
 }
 public EfGetCategoriesCommand(WMContext context) : base(context)
 {
 }
Exemple #6
0
 public BaseEfCommand(WMContext context)
 {
     Context = context;
 }
 public EfAddProductManufacturersCommand(WMContext context) : base(context)
 {
 }
 public EfGetProductSuppliers(WMContext context) : base(context)
 {
 }
Exemple #9
0
 public EfGetSuppliersCommand(WMContext context) : base(context)
 {
 }
Exemple #10
0
 public EfGetProductManufacturers(WMContext context) : base(context)
 {
 }
 public EfDeleteProductSuppliersCommand(WMContext context) : base(context)
 {
 }
 public EfAddProductSuppliersCommand(WMContext context) : base(context)
 {
 }
 public EfGetManufacturersCommand(WMContext context) : base(context)
 {
 }