Example #1
0
 public SalesController(ISalesIndentRepository indrepo,
                        ISalesIndentItemRepository inditemrepo,
                        ISalesOrderRepository order,
                        ISalesOrderItemRepository orderitem,
                        IDeliveryOrderRepository Deliveryorder,
                        IDeliveryOrderItemRepository Deliveryorderitem,
                        IDeliveryChallanRepository challan,
                        ISalesInvoiceRepository invoicerepo,
                        ISalesReturnRepository retrn,
                        ISalesReturnItemRepository returnitem,
                        IInventoryItemRepository itemrepo,
                        IDistributorRepository disrepo)
 {
     ind_repo               = indrepo;
     ind_item_repo          = inditemrepo;
     order_repo             = order;
     orderitem_repo         = orderitem;
     Deliveryorder_repo     = Deliveryorder;
     Deliveryorderitem_repo = Deliveryorderitem;
     challan_repo           = challan;
     Invoice_repo           = invoicerepo;
     return_repo            = retrn;
     returnitem_repo        = returnitem;
     item_repo              = itemrepo;
     dis_repo               = disrepo;
 }
Example #2
0
 public SalesReturnItemService(ISalesReturnItemRepository SalesReturnItemRepository, IUnitOfWork UnitOfWork)
 {
     this._SalesReturnItemRepository = SalesReturnItemRepository;
     this._UnitOfWork = UnitOfWork;
 }