private static void TestGetAllProductsFromJson() { var context = new WMContext(); //var response = new EfGetProductsCommand(context).ReadFromJson(); //response.Should().NotBeEmpty(); }
public EfEditProductCommand(WMContext context) : base(context) { Manufacturers = new EfAddProductManufacturersCommand(context); Suppliers = new EfAddProductSuppliersCommand(context); DeleteSuppliers = new EfDeleteProductSuppliersCommand(context); DeleteManufacturers = new EfDeleteProductManufacturersCommand(context); }
private static void TestGetAllProductsFromDatabase() { var context = new WMContext(); var response = new EfGetProductsCommand(context).Execute(); response.Should().NotBeEmpty(); }
public EfGetProductCommand(WMContext context) : base(context) { Suppliers = new EfGetProductSuppliers(context); Manufacturers = new EfGetProductManufacturers(context); }
public EfGetCategoriesCommand(WMContext context) : base(context) { }
public BaseEfCommand(WMContext context) { Context = context; }
public EfAddProductManufacturersCommand(WMContext context) : base(context) { }
public EfGetProductSuppliers(WMContext context) : base(context) { }
public EfGetSuppliersCommand(WMContext context) : base(context) { }
public EfGetProductManufacturers(WMContext context) : base(context) { }
public EfDeleteProductSuppliersCommand(WMContext context) : base(context) { }
public EfAddProductSuppliersCommand(WMContext context) : base(context) { }
public EfGetManufacturersCommand(WMContext context) : base(context) { }