public ManufacturerController(IGetManufacturerCommand getManufacturerCommand, IGetManufacturersCommand getManufacturersCommand, IAddManufacturerCommand addManufacturerCommand, IEditManufacturerCommand editManufacturerCommand, IDeleteManufacturerCommand deleteManufacturerCommand) { _getManufacturerCommand = getManufacturerCommand; _getManufacturersCommand = getManufacturersCommand; _addManufacturerCommand = addManufacturerCommand; _editManufacturerCommand = editManufacturerCommand; _deleteManufacturerCommand = deleteManufacturerCommand; }
public ManufacturerController(IGetManufacturersCommand getManufacturers, IGetManufacturerCommand getManufacturer, IAddManufacturerCommand addManufacturer, IEditManufacturerCommand editManufacturer, IDeleteManufacturerCommand deleteManufacturer) { _getManufacturers = getManufacturers; _getManufacturer = getManufacturer; _addManufacturer = addManufacturer; _editManufacturer = editManufacturer; _deleteManufacturer = deleteManufacturer; }
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; }