public SparepartManualTransactionEditorModel(ISparepartManualTransactionRepository sparepartManualTransactionRepository,
     ISparepartRepository sparepartRepository,
     ISparepartDetailRepository sparepartDetailRepository,
     ISpecialSparepartRepository wheelRepository,
     ISpecialSparepartDetailRepository wheelDetailRepository,
     IReferenceRepository referenceRepository,
     ITransactionRepository transactionRepository,
     ITransactionDetailRepository transactionDetailRepository,
     IJournalMasterRepository journalMasterRepository,
     ISparepartStockCardRepository sparepartStockCardRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _sparepartManualTransactionRepository = sparepartManualTransactionRepository;
     _sparepartRepository = sparepartRepository;
     _sparepartDetailRepository = sparepartDetailRepository;
     _specialSparepartRepository = wheelRepository;
     _specialSparepartDetailRepository = wheelDetailRepository;
     _referenceRepository = referenceRepository;
     _transactionRepository = transactionRepository;
     _transactionDetailRepository = transactionDetailRepository;
     _journalMasterRepository = journalMasterRepository;
     _sparepartStokCardRepository = sparepartStockCardRepository;
     _unitOfWork = unitOfWork;
 }
Exemple #2
0
 public VehicleEditorModel(ICustomerRepository customerRepository, IVehicleGroupRepository vehicleGroupRepository,
                           IVehicleRepository vehicleRepository,
                           IVehicleDetailRepository vehicleDetailRepository, IVehicleWheelRepository vehicleWheelRepository,
                           ISparepartRepository sparepartRepository, ITypeRepository typeRepository,
                           ISpecialSparepartDetailRepository wheelDetailRepository, IBrandRepository brandRepository,
                           //ISparepartDetailRepository sparepartDetailRepository,
                           ISpecialSparepartDetailRepository specialSparepartDetailRepository,
                           ISparepartStockCardRepository sparepartStokCardRepository,
                           ISparepartStockCardDetailRepository sparepartStokCardDetailRepository,
                           IReferenceRepository referenceRepository,
                           IUnitOfWork unitOfWork)
     : base()
 {
     _customerRepository               = customerRepository;
     _vehicleGroupRepository           = vehicleGroupRepository;
     _vehicleRepository                = vehicleRepository;
     _vehicleDetailRepository          = vehicleDetailRepository;
     _vehicleWheelRepository           = vehicleWheelRepository;
     _specialSparepartDetailRepository = wheelDetailRepository;
     //_sparepartDetailRepository = sparepartDetailRepository;
     _sparepartRepository               = sparepartRepository;
     _typeRepository                    = typeRepository;
     _brandRepository                   = brandRepository;
     _sparepartStokCardRepository       = sparepartStokCardRepository;
     _sparepartStokCardDetailRepository = sparepartStokCardDetailRepository;
     _referenceRepository               = referenceRepository;
     _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;
 }
Exemple #4
0
 public VehicleListModel(IVehicleRepository vehicleRepository,
                         IVehicleWheelRepository vehicleWheelRepository,
                         IUsedGoodRepository usedGoodRepository,
                         ISparepartRepository sparepartRepository,
                         ISpecialSparepartDetailRepository specialSparepartDetailRepository,
                         ISparepartStockCardRepository sparepartStokCardRepository,
                         ISparepartStockCardDetailRepository sparepartStokCardDetailRepository,
                         IReferenceRepository referenceRepository,
                         IPurchasingDetailRepository purchasingDetailRepository,
                         ISparepartManualTransactionRepository sparepartManualTransactionRepository,
                         IUnitOfWork unitOfWork)
     : base()
 {
     _vehicleRepository                    = vehicleRepository;
     _vehicleWheelRepository               = vehicleWheelRepository;
     _usedGoodRepository                   = usedGoodRepository;
     _specialSparepartDetailRepository     = specialSparepartDetailRepository;
     _sparepartRepository                  = sparepartRepository;
     _sparepartStokCardRepository          = sparepartStokCardRepository;
     _sparepartStokCardDetailRepository    = sparepartStokCardDetailRepository;
     _referenceRepository                  = referenceRepository;
     _purchasingDetailRepository           = purchasingDetailRepository;
     _sparepartManualTransactionRepository = sparepartManualTransactionRepository;
     _unitOfWork = unitOfWork;
 }
 public PurchasingApprovalModel(IPurchasingRepository purchasingRepository, ISupplierRepository supplierRepository,
                                IPurchasingDetailRepository purchasingDetailRepository,
                                ISparepartRepository sparepartRepository,
                                IReferenceRepository referenceRepository,
                                ITransactionRepository transactionRepository,
                                ITransactionDetailRepository transactionDetailRepository,
                                IJournalMasterRepository journalMasterRepository,
                                ISpecialSparepartDetailRepository wheelDetailRepository,
                                ISparepartStockCardRepository sparepartStockCardRepository,
                                ISparepartStockCardDetailRepository sparepartStockCardDetailRepository,
                                IUnitOfWork unitOfWork)
     : base()
 {
     _purchasingDetailRepository        = purchasingDetailRepository;
     _purchasingRepository              = purchasingRepository;
     _supplierRepository                = supplierRepository;
     _sparepartRepository               = sparepartRepository;
     _referenceRepository               = referenceRepository;
     _transactionRepository             = transactionRepository;
     _transactionDetailRepository       = transactionDetailRepository;
     _journalMasterRepository           = journalMasterRepository;
     _specialSparepartDetailRepository  = wheelDetailRepository;
     _sparepartStokCardRepository       = sparepartStockCardRepository;
     _sparepartStokCardDetailRepository = sparepartStockCardDetailRepository;
     _unitOfWork = unitOfWork;
 }
 public SalesReturnListModel(ITransactionRepository transactionRepository,
                             IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, ISalesReturnRepository salesReturnRepository,
                             ISalesReturnDetailRepository salesReturnDetailRepository,
                             ISparepartRepository sparepartRepository,
                             IReferenceRepository referenceRepository,
                             ICustomerRepository customerRepository,
                             ISparepartStockCardRepository sparepartStockCardRepository,
                             ISparepartStockCardDetailRepository sparepartStockCardDetailRepository,
                             IPurchasingDetailRepository purchasingDetailRepository,
                             ISparepartManualTransactionRepository sparepartManualTransactionRepository,
                             IUnitOfWork unitOfWork)
     : base()
 {
     _transactionRepository                = transactionRepository;
     _invoiceRepository                    = invoiceRepository;
     _invoiceDetailRepository              = invoiceDetailRepository;
     _salesReturnRepository                = salesReturnRepository;
     _salesReturnDetailRepository          = salesReturnDetailRepository;
     _sparepartRepository                  = sparepartRepository;
     _referenceRepository                  = referenceRepository;
     _customerRepository                   = customerRepository;
     _sparepartStokCardRepository          = sparepartStockCardRepository;
     _sparepartStokCardDetailRepository    = sparepartStockCardDetailRepository;
     _purchasingDetailRepository           = purchasingDetailRepository;
     _sparepartManualTransactionRepository = sparepartManualTransactionRepository;
     _unitOfWork = unitOfWork;
 }
 public SalesReturnEditorModel(
     ISalesReturnRepository salesReturnRepository,
     ISalesReturnDetailRepository salesReturnDetailRepository,
     IInvoiceRepository invoiceRepository,
     IInvoiceDetailRepository invoiceDetailRepository,
     ISparepartRepository sparepartRepository,
     ISparepartDetailRepository sparepartDetailRepository,
     IReferenceRepository referenceRepository,
     ITransactionRepository transactionRepository,
     ITransactionDetailRepository transactionDetailRepository,
     IJournalMasterRepository journalMasterRepository,
     ISpecialSparepartRepository specialSparepartRepository,
     ISpecialSparepartDetailRepository specialSparepartDetailRepository,
     ISparepartStockCardRepository sparepartStockCardRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _salesReturnRepository = salesReturnRepository;
     _salesReturnDetailRepository = salesReturnDetailRepository;
     _invoiceRepository = invoiceRepository;
     _invoiceDetailRepository = invoiceDetailRepository;
     _sparepartRepository = sparepartRepository;
     _sparepartDetailRepository = sparepartDetailRepository;
     _transactionRepository = transactionRepository;
     _transactionDetailRepository = transactionDetailRepository;
     _journalMasterRepository = journalMasterRepository;
     _referenceRepository = referenceRepository;
     _specialSparepartRepository = specialSparepartRepository;
     _specialSparepartDetailRepository = specialSparepartDetailRepository;
     _sparepartStokCardRepository = sparepartStockCardRepository;
     _unitOfWork = unitOfWork;
 }
 public VehicleEditorModel(ICustomerRepository customerRepository, IVehicleGroupRepository vehicleGroupRepository,
     IVehicleRepository vehicleRepository,
     IVehicleDetailRepository vehicleDetailRepository, IVehicleWheelRepository vehicleWheelRepository,
     ISparepartRepository sparepartRepository, ITypeRepository typeRepository,
     ISpecialSparepartDetailRepository wheelDetailRepository, IBrandRepository brandRepository,
     ISparepartDetailRepository sparepartDetailRepository,
     ISpecialSparepartDetailRepository specialSparepartDetailRepository,
     ISparepartStockCardRepository sparepartStokCardRepository,
     IReferenceRepository referenceRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _customerRepository = customerRepository;
     _vehicleGroupRepository = vehicleGroupRepository;
     _vehicleRepository = vehicleRepository;
     _vehicleDetailRepository = vehicleDetailRepository;
     _vehicleWheelRepository = vehicleWheelRepository;
     _specialSparepartDetailRepository = wheelDetailRepository;
     _sparepartDetailRepository = sparepartDetailRepository;
     _sparepartRepository = sparepartRepository;
     _typeRepository = typeRepository;
     _brandRepository = brandRepository;
     _sparepartStokCardRepository = sparepartStokCardRepository;
     _referenceRepository = referenceRepository;
     _unitOfWork = unitOfWork;
 }
 public SPKEditorModel(ISettingRepository settingRepository, IReferenceRepository referenceRepository, IVehicleRepository vehicleRepository,
     ISPKRepository SPKRepository, ISPKDetailSparepartRepository SPKDetailSparePartRepository,
     ISPKDetailSparepartDetailRepository SPKDetailSparepartDetailRepository, ISparepartRepository sparepartRepository,
     ISparepartDetailRepository sparepartDetailRepository,
     IUsedGoodRepository usedGoodRepository,
     ISpecialSparepartRepository specialSparepartRepository,
     ISpecialSparepartDetailRepository specialSparepartDetailRepository,
     IVehicleWheelRepository vehicleWheelRepository,
     IInvoiceRepository invoiceRepository,
     IInvoiceDetailRepository invoiceDetailRepository,
     IWheelExchangeHistoryRepository WheelExchangeHistoryRepository,
     ISPKScheduleRepository spkScheduleRepository,
     ISparepartStockCardRepository sparepartStokCardRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _settingRepository = settingRepository;
     _referenceRepository = referenceRepository;
     _vehicleRepository = vehicleRepository;
     _SPKRepository = SPKRepository;
     _SPKDetailSparepartRepository = SPKDetailSparePartRepository;
     _SPKDetailSparepartDetailRepository = SPKDetailSparepartDetailRepository;
     _sparepartRepository = sparepartRepository;
     _sparepartDetailRepository = sparepartDetailRepository;
     _usedGoodRepository = usedGoodRepository;
     _specialSparepartDetailRepository = specialSparepartDetailRepository;
     _specialSparepartRepository = specialSparepartRepository;
     _vehicleWheelRepository = vehicleWheelRepository;
     _invoiceRepository = invoiceRepository;
     _invoiceDetailRepository = invoiceDetailRepository;
     _SPKScheduleRepository = spkScheduleRepository;
     _wheelExchangeHistoryRepository = WheelExchangeHistoryRepository;
     _sparepartStokCardRepository = sparepartStokCardRepository;
     _unitOfWork = unitOfWork;
 }
 public PurchasingApprovalModel(IPurchasingRepository purchasingRepository, ISupplierRepository supplierRepository,
     IPurchasingDetailRepository purchasingDetailRepository,
     ISparepartRepository sparepartRepository,
     ISparepartDetailRepository sparepartDetailRepository,
     IReferenceRepository referenceRepository,
     ITransactionRepository transactionRepository,
     ITransactionDetailRepository transactionDetailRepository,
     IJournalMasterRepository journalMasterRepository,
     ISpecialSparepartRepository wheelRepository,
     ISpecialSparepartDetailRepository wheelDetailRepository,
     ISparepartStockCardRepository sparepartStockCardRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _purchasingDetailRepository = purchasingDetailRepository;
     _purchasingRepository = purchasingRepository;
     _supplierRepository = supplierRepository;
     _sparepartRepository = sparepartRepository;
     _sparepartDetailRepository = sparepartDetailRepository;
     _referenceRepository = referenceRepository;
     _transactionRepository = transactionRepository;
     _transactionDetailRepository = transactionDetailRepository;
     _journalMasterRepository = journalMasterRepository;
     _specialSparepartRepository = wheelRepository;
     _specialSparepartDetailRepository = wheelDetailRepository;
     _sparepartStokCardRepository = sparepartStockCardRepository;
     _unitOfWork = unitOfWork;
 }
 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;
 }
Exemple #12
0
 public FIFOSparepartStockCardListModel(
     ISparepartStockCardDetailRepository sparepartStockCardDetailRepository,
     ISparepartStockCardRepository sparepartStockCardRepository,
     IPurchasingRepository purchasingRepository,
     IPurchasingDetailRepository purchasingDetailRepository,
     ISparepartManualTransactionRepository sparepartManualTransactionRepository,
     ISparepartRepository sparepartRepository
     )
 {
     _sparepartStockCardDetailRepository = sparepartStockCardDetailRepository;
     _sparepartStockCardRepository       = sparepartStockCardRepository;
     _purchasingRepository                 = purchasingRepository;
     _purchasingDetailRepository           = purchasingDetailRepository;
     _sparepartManualTransactionRepository = sparepartManualTransactionRepository;
     _sparepartRepository = sparepartRepository;
 }
 public SparepartListModel(ISparepartRepository sparepartRepository,
                           ISpecialSparepartDetailRepository specialSparepartDetailRepository,
                           IReferenceRepository referenceRepository,
                           ISparepartStockCardRepository sparepartStockCardRepository,
                           ISparepartStockCardDetailRepository sparepartStockCardDetailRepository,
                           ISparepartManualTransactionRepository sparepartManualTransactionRepository,
                           IUnitOfWork unitOfWork)
     : base()
 {
     _sparepartRepository = sparepartRepository;
     _specialSparepartDetailRepository = specialSparepartDetailRepository;
     _referenceRepository                  = referenceRepository;
     _sparepartStockCardRepository         = sparepartStockCardRepository;
     _sparepartStockCardDetailRepository   = sparepartStockCardDetailRepository;
     _sparepartManualTransactionRepository = sparepartManualTransactionRepository;
     _unitOfWork = unitOfWork;
 }
 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;
 }
 public SalesReturnTransactionListModel(ITransactionRepository transactionRepository,
     IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository, ISalesReturnRepository salesReturnRepository,
     ISalesReturnDetailRepository salesReturnDetailRepository,
     ISparepartRepository sparepartRepository, ISparepartDetailRepository sparepartDetailRepository,
     IReferenceRepository referenceRepository,
     ISparepartStockCardRepository sparepartStockCardRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _transactionRepository = transactionRepository;
     _invoiceRepository = invoiceRepository;
     _invoiceDetailRepository = invoiceDetailRepository;
     _salesReturnRepository = salesReturnRepository;
     _salesReturnDetailRepository = salesReturnDetailRepository;
     _sparepartRepository = sparepartRepository;
     _sparepartDetailRepository = sparepartDetailRepository;
     _referenceRepository = referenceRepository;
     _sparepartStokCardRepository = sparepartStockCardRepository;
     _unitOfWork = unitOfWork;
 }
 public VehicleListModel(IVehicleRepository vehicleRepository, 
     IVehicleWheelRepository vehicleWheelRepository,
     IUsedGoodRepository usedGoodRepository,
     ISparepartRepository sparepartRepository,
     ISparepartDetailRepository sparepartDetailRepository,
     ISpecialSparepartDetailRepository specialSparepartDetailRepository,
     ISparepartStockCardRepository sparepartStokCardRepository,
     IReferenceRepository referenceRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _vehicleRepository = vehicleRepository;
     _vehicleWheelRepository = vehicleWheelRepository;
     _usedGoodRepository = usedGoodRepository;
     _specialSparepartDetailRepository = specialSparepartDetailRepository;
     _sparepartDetailRepository = sparepartDetailRepository;
     _sparepartRepository = sparepartRepository;
     _sparepartStokCardRepository = sparepartStokCardRepository;
     _referenceRepository = referenceRepository;
     _unitOfWork = unitOfWork;
 }
 public SPKViewDetailModel(IReferenceRepository referenceRepository, IVehicleRepository vehicleRepository,
     ISPKRepository SPKRepository, ISPKDetailSparepartRepository SPKDetailSparePartRepository,
     ISPKDetailSparepartDetailRepository SPKDetailSparepartDetailRepository, ISparepartRepository sparepartRepository,
     ISparepartDetailRepository sparepartDetailRepository,
     ISettingRepository settingRepository,
     IInvoiceRepository invoiceRepository,
     IInvoiceDetailRepository invoiceDetailRepository,
     IUsedGoodRepository usedGoodrepository,
     IUsedGoodTransactionRepository usedGoodTransactionRepository,
     IVehicleWheelRepository vehicleWheelRepository,
     ISPKScheduleRepository SPKScheduleReposistory,
     IMechanicRepository mechanicRepository,
     IWheelExchangeHistoryRepository wheelExchangeHistoryRepository,
     ISpecialSparepartRepository specialSparepartRepository,
     ISpecialSparepartDetailRepository specialSparepartDetailRepository,
     ISparepartStockCardRepository sparepartStockCardRepository,
     IUnitOfWork unitOfWork)
     : base()
 {
     _referenceRepository = referenceRepository;
     _vehicleRepository = vehicleRepository;
     _SPKRepository = SPKRepository;
     _SPKDetailSparepartRepository = SPKDetailSparePartRepository;
     _SPKDetailSparepartDetailRepository = SPKDetailSparepartDetailRepository;
     _sparepartRepository = sparepartRepository;
     _sparepartDetailRepository = sparepartDetailRepository;
     _settingRepository = settingRepository;
     _invoiceRepository = invoiceRepository;
     _invoiceDetailRepository = invoiceDetailRepository;
     _vehicleWheelRepository = vehicleWheelRepository;
     _usedGoodRepository = usedGoodrepository;
     _usedGoodTransactionRepository = usedGoodTransactionRepository;
     _SPKScheduleRepository = SPKScheduleReposistory;
     _mechanicRepository = mechanicRepository;
     _wheelExchangeHistoryRepository = wheelExchangeHistoryRepository;
     _specialSparepartDetailRepository = specialSparepartDetailRepository;
     _specialSparepartRepository = specialSparepartRepository;
     _sparepartStokCardRepository = sparepartStockCardRepository;
     _unitOfWork = unitOfWork;
 }
Exemple #18
0
 public SparepartManualTransactionEditorModel(ISparepartManualTransactionRepository sparepartManualTransactionRepository,
                                              ISparepartRepository sparepartRepository,
                                              ISpecialSparepartDetailRepository wheelDetailRepository,
                                              IReferenceRepository referenceRepository,
                                              ITransactionRepository transactionRepository,
                                              ITransactionDetailRepository transactionDetailRepository,
                                              IJournalMasterRepository journalMasterRepository,
                                              ISparepartStockCardRepository sparepartStockCardRepository,
                                              ISparepartStockCardDetailRepository sparepartStockCardDetailRepository,
                                              IUnitOfWork unitOfWork)
     : base()
 {
     _sparepartManualTransactionRepository = sparepartManualTransactionRepository;
     _sparepartRepository = sparepartRepository;
     _specialSparepartDetailRepository = wheelDetailRepository;
     _referenceRepository                = referenceRepository;
     _transactionRepository              = transactionRepository;
     _transactionDetailRepository        = transactionDetailRepository;
     _journalMasterRepository            = journalMasterRepository;
     _sparepartStockCardRepository       = sparepartStockCardRepository;
     _sparepartStockCardDetailRepository = sparepartStockCardDetailRepository;
     _unitOfWork = unitOfWork;
 }
 public SparepartStockCardListModel(ISparepartRepository sparepartRepository,
     ISparepartStockCardRepository sparepartStockCardRepository)
 {
     _sparepartRepository = sparepartRepository;
     _sparepartStockCardRepository = sparepartStockCardRepository;
 }
 public SparepartStockCardListModel(ISparepartRepository sparepartRepository,
                                    ISparepartStockCardRepository sparepartStockCardRepository)
 {
     _sparepartRepository          = sparepartRepository;
     _sparepartStockCardRepository = sparepartStockCardRepository;
 }
Exemple #21
0
 public SPKEditorModel(ISettingRepository settingRepository, IReferenceRepository referenceRepository, IVehicleRepository vehicleRepository,
                       ISPKRepository SPKRepository, ISPKDetailSparepartRepository SPKDetailSparePartRepository,
                       ISPKDetailSparepartDetailRepository SPKDetailSparepartDetailRepository, ISparepartRepository sparepartRepository,
                       IUsedGoodRepository usedGoodRepository,
                       IUsedGoodTransactionRepository usedGoodTransactionRepository,
                       ISpecialSparepartDetailRepository specialSparepartDetailRepository,
                       IVehicleWheelRepository vehicleWheelRepository,
                       IInvoiceRepository invoiceRepository,
                       IInvoiceDetailRepository invoiceDetailRepository,
                       IWheelExchangeHistoryRepository WheelExchangeHistoryRepository,
                       ISPKScheduleRepository spkScheduleRepository,
                       ISparepartStockCardRepository sparepartStokCardRepository,
                       ISparepartStockCardDetailRepository sparepartStokCardDetailRepository,
                       IVehicleGroupRepository vehicleGroupRepository,
                       IPurchasingDetailRepository purchasingDetailRepository,
                       ISparepartManualTransactionRepository sparepartManualTransaction,
                       ICustomerRepository customerRepository,
                       IBrandRepository brandRepository,
                       IMechanicRepository mechanicRepository,
                       IUnitOfWork unitOfWork)
     : base(
         settingRepository,
         referenceRepository,
         vehicleRepository,
         SPKRepository,
         SPKDetailSparePartRepository,
         SPKDetailSparepartDetailRepository,
         sparepartRepository,
         usedGoodRepository,
         usedGoodTransactionRepository,
         specialSparepartDetailRepository,
         vehicleWheelRepository,
         invoiceRepository,
         invoiceDetailRepository,
         WheelExchangeHistoryRepository,
         spkScheduleRepository,
         sparepartStokCardRepository,
         sparepartStokCardDetailRepository,
         vehicleGroupRepository,
         purchasingDetailRepository,
         sparepartManualTransaction,
         customerRepository,
         brandRepository,
         mechanicRepository,
         unitOfWork
         )
 {
     _settingRepository                    = settingRepository;
     _referenceRepository                  = referenceRepository;
     _vehicleRepository                    = vehicleRepository;
     _SPKRepository                        = SPKRepository;
     _SPKDetailSparepartRepository         = SPKDetailSparePartRepository;
     _SPKDetailSparepartDetailRepository   = SPKDetailSparepartDetailRepository;
     _sparepartRepository                  = sparepartRepository;
     _usedGoodRepository                   = usedGoodRepository;
     _specialSparepartDetailRepository     = specialSparepartDetailRepository;
     _vehicleWheelRepository               = vehicleWheelRepository;
     _invoiceRepository                    = invoiceRepository;
     _invoiceDetailRepository              = invoiceDetailRepository;
     _SPKScheduleRepository                = spkScheduleRepository;
     _wheelExchangeHistoryRepository       = WheelExchangeHistoryRepository;
     _sparepartStokCardRepository          = sparepartStokCardRepository;
     _sparepartStokCardDetailRepository    = sparepartStokCardDetailRepository;
     _vehicleGroupRepository               = vehicleGroupRepository;
     _purchasingDetailRepository           = purchasingDetailRepository;
     _sparepartManualTransactionRepository = sparepartManualTransaction;
     _customerRepository                   = customerRepository;
     _brandRepository                      = brandRepository;
     _mechanicRepository                   = mechanicRepository;
     _unitOfWork = unitOfWork;
 }