public ProductService(IProductRepository productRepository, IProductTransactionRepository productTransactionRepository, ITransactionService transactionService, IStockService stockService, IWebHostEnvironment webHostEnvironment) { this.productRepository = productRepository; this.productTransactionRepository = productTransactionRepository; this.transactionService = transactionService; this.stockService = stockService; this.webHostEnvironment = webHostEnvironment; }
public StockService(IStockRepository stockRepository, IProductTransactionRepository productTransactionRepository, IMaterialTransactionRepository materialTransactionRepository, IToolsTransactionRepository toolsTransactionRepository, ITransactionTypeRepository transactionTypeRepository) { this.stockRepository = stockRepository; this.productTransactionRepository = productTransactionRepository; this.materialTransactionRepository = materialTransactionRepository; this.toolsTransactionRepository = toolsTransactionRepository; this.transactionTypeRepository = transactionTypeRepository; }
public SaleService(IStockService stockService, IProductTransactionRepository productTransactionRepository, IProductService productService, ITransactionService transactionService, ISaleRepository saleRepository) { this.stockService = stockService; this.productTransactionRepository = productTransactionRepository; this.productService = productService; this.transactionService = transactionService; this.saleRepository = saleRepository; }