Example #1
0
 public ProductsController(IGetProductsCommand get, ICreateProductCommand create, IEditProductCommand edit, IGetProductCommand getOne)
 {
     _get    = get;
     _create = create;
     _edit   = edit;
     _getOne = getOne;
 }
Example #2
0
 public ProductsController(ICreateProductCommand createProduct, IGetProductsCommand getProducts, IDeleteProductsCommand deleteProducts, IEditProductCommand editProduct)
 {
     _createProduct  = createProduct;
     _getProducts    = getProducts;
     _deleteProducts = deleteProducts;
     _editProduct    = editProduct;
 }
 public ProductController(IGetProductsCommand getProducts, IGetProductInsertData getProductInsertData,
                          ICreateProductCommand createProduct, IGetProductCommand getProduct,
                          IEditProductCommand editProduct)
 {
     _getProducts          = getProducts;
     _getProductInsertData = getProductInsertData;
     _createProduct        = createProduct;
     _getProduct           = getProduct;
     _editProduct          = editProduct;
 }
 public ProductsController(IGetProductCommand getProduct, IGetInsertUpdateProductCommand getInsertUpdateProduct, IGetProductsCommand getProducts, IAddProductCommand addProduct, IEditProductCommand editProduct, IGetCategoriesCommand getCategories, IGetManufacturersCommand getManufacturers, IGetSuppliersCommand getSuppliers, IGetProductsFromJsonCommand getProductsFromJson)
 {
     _getProduct             = getProduct;
     _getInsertUpdateProduct = getInsertUpdateProduct;
     _getProducts            = getProducts;
     _addProduct             = addProduct;
     _editProduct            = editProduct;
     _getCategories          = getCategories;
     _getManufacturers       = getManufacturers;
     _getSuppliers           = getSuppliers;
     _getProductsFromJson    = getProductsFromJson;
 }
Example #5
0
 public ProductsController(
     IAddProductCommand addProductCommand,
     IGetProductCommand getProductCommand,
     IEditProductCommand editProductCommand,
     WirelessMediaTestContext wirelessMediaTestContext
     )
 {
     this.addProductCommand        = addProductCommand;
     this.getProductCommand        = getProductCommand;
     this.editProductCommand       = editProductCommand;
     this.wirelessMediaTestContext = wirelessMediaTestContext;
 }