public ProductsController( ICreateProductService createProductService, IUpdateProductService updateProductService, IDeleteProductService deleteProductService, ICreateUnitService createUnitService) { _createProductService = createProductService; _updateProductService = updateProductService; _deleteProductService = deleteProductService; _createUnitService = createUnitService; }
public ProductController(IProductRepository productRepository, ICreateProductService createProductService, IUnitOfWork unitOfWork, ICategoryRepository categoryRepository, IMapper mapper) : base(mapper) { _productRepository = productRepository; _createProductService = createProductService; _unitOfWork = unitOfWork; _categoryRepository = categoryRepository; }
public CreateProductFunction(IHttpRequestJsonReader requestReader, ICreateProductService createProductService) { this.requestReader = requestReader; this.createProductService = createProductService; }