public PurchaseReturnEditorModel(
     IPurchaseReturnRepository purchaseReturnRepository,
     IPurchaseReturnDetailRepository purchaseReturnDetailRepository,
     IPurchasingRepository purchasingRepository,
     IPurchasingDetailRepository purchasingDetailRepository,
     ISparepartRepository sparepartRepository,
     ISparepartDetailRepository sparepartDetailRepository,
     IReferenceRepository referenceRepository,
     ITransactionRepository transactionRepository,
     ITransactionDetailRepository transactionDetailRepository,
     IJournalMasterRepository journalMasterRepository,
     ISparepartStockCardRepository sparepartStockCardRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _purchaseReturnRepository = purchaseReturnRepository;
     _purchaseReturnDetailRepository = purchaseReturnDetailRepository;
     _purchasingRepository = purchasingRepository;
     _purchasingDetailRepository = purchasingDetailRepository;
     _sparepartRepository = sparepartRepository;
     _sparepartDetailRepository = sparepartDetailRepository;
     _transactionRepository = transactionRepository;
     _transactionDetailRepository = transactionDetailRepository;
     _journalMasterRepository = journalMasterRepository;
     _referenceRepository = referenceRepository;
     _sparepartStokCardRepository = sparepartStockCardRepository;
     _unitOfWork = unitOfWork;
 }
 public PurchaseReturnListModel(ITransactionRepository transactionRepository,
                                IPurchasingRepository purchasingRepository, IPurchasingDetailRepository purchasingDetailRepository, IPurchaseReturnRepository purchaseReturnRepository,
                                IPurchaseReturnDetailRepository purchaseReturnDetailRepository,
                                ISparepartRepository sparepartRepository,
                                IReferenceRepository referenceRepository,
                                ISupplierRepository supplierRepository,
                                ISparepartStockCardRepository sparepartStockCardRepository,
                                ISparepartStockCardDetailRepository sparepartStockCardDetailRepository,
                                ISpecialSparepartDetailRepository specialSparepartDetailRepository,
                                IUnitOfWork unitOfWork)
     : base()
 {
     _transactionRepository             = transactionRepository;
     _purchasingRepository              = purchasingRepository;
     _purchasingDetailRepository        = purchasingDetailRepository;
     _purchaseReturnRepository          = purchaseReturnRepository;
     _purchaseReturnDetailRepository    = purchaseReturnDetailRepository;
     _sparepartRepository               = sparepartRepository;
     _referenceRepository               = referenceRepository;
     _supplierRepository                = supplierRepository;
     _sparepartStokCardRepository       = sparepartStockCardRepository;
     _sparepartStokCardDetailRepository = sparepartStockCardDetailRepository;
     _specialSparepartDetailRepository  = specialSparepartDetailRepository;
     _unitOfWork = unitOfWork;
 }
Esempio n. 3
0
 public PurchaseReturnEditorModel(
     IPurchaseReturnRepository purchaseReturnRepository,
     IPurchaseReturnDetailRepository purchaseReturnDetailRepository,
     IPurchasingRepository purchasingRepository,
     IPurchasingDetailRepository purchasingDetailRepository,
     ISparepartRepository sparepartRepository,
     IReferenceRepository referenceRepository,
     ITransactionRepository transactionRepository,
     ITransactionDetailRepository transactionDetailRepository,
     IJournalMasterRepository journalMasterRepository,
     ISparepartStockCardRepository sparepartStockCardRepository,
     ISparepartStockCardDetailRepository sparepartStockCardDetailRepository,
     ISpecialSparepartDetailRepository specialSparepartDetailRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _purchaseReturnRepository          = purchaseReturnRepository;
     _purchaseReturnDetailRepository    = purchaseReturnDetailRepository;
     _purchasingRepository              = purchasingRepository;
     _purchasingDetailRepository        = purchasingDetailRepository;
     _sparepartRepository               = sparepartRepository;
     _transactionRepository             = transactionRepository;
     _transactionDetailRepository       = transactionDetailRepository;
     _journalMasterRepository           = journalMasterRepository;
     _referenceRepository               = referenceRepository;
     _sparepartStokCardRepository       = sparepartStockCardRepository;
     _sparepartStokCardDetailRepository = sparepartStockCardDetailRepository;
     _specialSparepartDetailRepository  = specialSparepartDetailRepository;
     _unitOfWork = unitOfWork;
 }
Esempio n. 4
0
 public RecapPurchasingModel(IPurchasingRepository purchasingRepository,
                             IPurchasingDetailRepository purchasingDetailRepository,
                             ISupplierRepository supplierRepository,
                             IReferenceRepository referenceRepository,
                             ISparepartRepository sparepartRepository,
                             IPurchaseReturnRepository purchaseReturnRepository,
                             IPurchaseReturnDetailRepository purchaseReturnDetailRepository)
     : base()
 {
     _purchasingRepository           = purchasingRepository;
     _purchasingDetailRepository     = purchasingDetailRepository;
     _supplierRepository             = supplierRepository;
     _referenceRepository            = referenceRepository;
     _sparepartRepository            = sparepartRepository;
     _purchaseReturnRepository       = purchaseReturnRepository;
     _purchaseReturnDetailRepository = purchaseReturnDetailRepository;
 }
 public PurchaseReturnTransactionListModel(ITransactionRepository transactionRepository,
     IPurchasingRepository purchasingRepository, IPurchasingDetailRepository purchasingDetailRepository, IPurchaseReturnRepository purchaseReturnRepository,
     IPurchaseReturnDetailRepository purchaseReturnDetailRepository,
     ISparepartRepository sparepartRepository, ISparepartDetailRepository sparepartDetailRepository,
     IReferenceRepository referenceRepository,
     ISparepartStockCardRepository sparepartStockCardRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _transactionRepository = transactionRepository;
     _purchasingRepository = purchasingRepository;
     _purchasingDetailRepository = purchasingDetailRepository;
     _purchaseReturnRepository = purchaseReturnRepository;
     _purchaseReturnDetailRepository = purchaseReturnDetailRepository;
     _sparepartRepository = sparepartRepository;
     _sparepartDetailRepository = sparepartDetailRepository;
     _referenceRepository = referenceRepository;
     _sparepartStokCardRepository = sparepartStockCardRepository;
     _unitOfWork = unitOfWork;
 }
Esempio n. 6
0
        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;
        }
Esempio n. 7
0
 public PurchaseReturnService(IPurchaseReturnRepository purchaseReturnRepository)
     : base(purchaseReturnRepository)
 {
     _purchaseReturnRepository = purchaseReturnRepository;
 }
 //inject dependency
 public PurchaseReturnsController(IPurchaseReturnRepository prepository)
 {
     this.purchasereturnrepository = prepository;
 }
 public PurchaseReturnService(IPurchaseReturnRepository iPurchaseReturnRepository)
 {
     _iPurchaseReturnRepository = iPurchaseReturnRepository;
 }
Esempio n. 10
0
 public PurchaseReturnApp(IPurchaseReturnRepository IPurchaseReturnRepository)
 {
     _purchaseReturnRepository = IPurchaseReturnRepository;
 }
 public PurchaseReturnService(IPurchaseReturnRepository PurchaseReturnRepository, IUnitOfWork UnitOfWork)
 {
     this._PurchaseReturnRepository = PurchaseReturnRepository;
     this._UnitOfWork = UnitOfWork;
 }