public PurchaseController(IPurchaseIndentRepository indentrepo, IPurchaseIndentItemRepository indentitem, IPurchaseOrderRepository orderrepo, IPurchaseOrderItemRepository orderitemrepo, IPurchaseInvoiceRepository invoicerepo, IGrnRepository grnrepo, IGrnItemRepository grnitemrepo, IPurchaseReturnRepository rtnrepo, IPurchaseReturnItemRepository rtnitemrepo) { Indent_repo = indentrepo; IndentItem_repo = indentitem; order_repo = orderrepo; orderitem_repo = orderitemrepo; invoice_repo = invoicerepo; grn_repo = grnrepo; grnItem_repo = grnitemrepo; return_repo = rtnrepo; returnitem_repo = rtnitemrepo; }
public PurchaseReturnItemService(IPurchaseReturnItemRepository PurchaseReturnItemRepository, IUnitOfWork UnitOfWork) { this._PurchaseReturnItemRepository = PurchaseReturnItemRepository; this._UnitOfWork = UnitOfWork; }