Ejemplo n.º 1
0
 public ProductsController(IGetProductsCommand get, ICreateProductCommand create, IEditProductCommand edit, IGetProductCommand getOne)
 {
     _get    = get;
     _create = create;
     _edit   = edit;
     _getOne = getOne;
 }
Ejemplo n.º 2
0
 public ProductsController(IGetProductsCommand getCommand, IGetProductCommand getOneCommand, IAddProductCommand addProductCommand, IDeleteProductCommand deleteProductCommand, IUpdateProductCommand updateProductCommand)
 {
     _getCommand    = getCommand;
     _getOneCommand = getOneCommand;
     _addCommand    = addProductCommand;
     _deleteCommand = deleteProductCommand;
     _updateCommand = updateProductCommand;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 5
0
 public ProductsController(
     IAddProductCommand addProductCommand,
     IGetProductCommand getProductCommand,
     IEditProductCommand editProductCommand,
     WirelessMediaTestContext wirelessMediaTestContext
     )
 {
     this.addProductCommand        = addProductCommand;
     this.getProductCommand        = getProductCommand;
     this.editProductCommand       = editProductCommand;
     this.wirelessMediaTestContext = wirelessMediaTestContext;
 }
 public ProductionService(IGetProductCommand getProductCommand)
 {
     _getProductCommand = getProductCommand;
 }