Пример #1
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 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;
 }
Пример #3
0
 public InvoiceListModel(IInvoiceRepository invoiceRepository, IInvoiceDetailRepository invoiceDetailRepository,
                         ICustomerRepository customerRepository, ISparepartRepository sparepartRepository,
                         IReferenceRepository referenceRepository,
                         IVehicleGroupRepository vehicleGroupRepository,
                         IVehicleDetailRepository vehicleDetailRepository,
                         ISPKRepository spkRepository,
                         ISPKDetailSparepartRepository spkDetailSparepartRepository,
                         ISPKDetailSparepartDetailRepository spkDetailSparepartDetailRepository,
                         ISpecialSparepartDetailRepository specialSparepartDetailRepository,
                         IPurchasingDetailRepository purchasingDetailRepository,
                         ISparepartManualTransactionRepository sparepartManualTransactionRepository,
                         IUnitOfWork unitOfWork)
     : base()
 {
     _invoiceRepository                    = invoiceRepository;
     _invoiceDetailRepository              = invoiceDetailRepository;
     _customerRepository                   = customerRepository;
     _sparepartRepository                  = sparepartRepository;
     _referenceRepository                  = referenceRepository;
     _vehicleGroupRepository               = vehicleGroupRepository;
     _vehicleDetailRepository              = vehicleDetailRepository;
     _spkRepository                        = spkRepository;
     _spkDetailSparepartRepository         = spkDetailSparepartRepository;
     _spkDetailSparepartDetailRepository   = spkDetailSparepartDetailRepository;
     _specialSparepartDetailRepository     = specialSparepartDetailRepository;
     _purchasingDetailRepository           = purchasingDetailRepository;
     _sparepartManualTransactionRepository = sparepartManualTransactionRepository;
     _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;
 }
Пример #5
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;
 }
Пример #7
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;
 }
Пример #8
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;
 }