public ProductController(ICreateProduct createProduct, IGetProduct getProduct, IUpdateProduct updateProduct, IRemoveProduct removeProduct) { this.createProduct = createProduct; this.getProduct = getProduct; this.updateProduct = updateProduct; this.removeProduct = removeProduct; }
public ProductController(IGetProduct getProduct, ICreateProduct createProduct, IUpdateProduct updateProduct, IRemoveProduct removeProduct, IValidateProductPrice validateProductPrice, IConfirmProductPrice confirmProductPrice) { this.getProduct = getProduct; this.createProduct = createProduct; this.updateProduct = updateProduct; this.removeProduct = removeProduct; this.validateProductPrice = validateProductPrice; this.confirmProductPrice = confirmProductPrice; }
public GetProductResponse AssignProductInfo(string product, FunctionType type) { GetProductResponse response = new GetProductResponse(); IGetProduct getProduct = GetProductRuleFactory.Create(type); response = getProduct.GetProduct(product); return(response); }
public ProductController( IAddProduct addProduct, IGenerateInitialProducts generateInitialProducts, IGetProduct getProduct, IGetProducts getProducts, IDeleteProduct deleteProduct, IUpdateProduct updateProduct, IDeleteAllProducts deleteAllProduct, ISearchProduct searchProduct) { _addProduct = addProduct; _generateInitialProducts = generateInitialProducts; _getProduct = getProduct; _getProducts = getProducts; _deleteProduct = deleteProduct; _updateProduct = updateProduct; _deleteAllProducts = deleteAllProduct; _searchProduct = searchProduct; }
public GetAllProductsHandler(IGetProduct getProduct, IMapper mapper) { _getProduct = getProduct; _mapper = mapper; }
public ProductController(IAddProductWithStock addProductWithStock, IGetProduct getProduct) { _addProductWithStock = addProductWithStock; _getProduct = getProduct; }
public GetProductByIdHandler(IGetProduct getProduct, IMapper mapper) { _getProduct = getProduct; _mapper = mapper; }
public ServicesManager(IGetProduct service) { getproduct = service; }