Exemple #1
0
 public PurchaseTransactionRepository(DatabaseContext dbContext,
                                      IAppConfigRepository appConfigRepository,
                                      IBalingStationRepository balingStationRepository,
                                      IUserAccountRepository userAccountRepository,
                                      IPrintLogRepository printLogRepository,
                                      IVehicleRepository vehicleRepository,
                                      ISupplierRepository supplierRepository,
                                      IRawMaterialRepository rawMaterialRepository,
                                      ISourceRepository sourceRepository,
                                      IMoistureReaderRepository moistureReaderRepository,
                                      IMoistureSettingsRepository mcRepository,
                                      IBaleTypeRepository baleTypeRepository,
                                      IVehicleDeliveryRestrictionRepository vehicleDeliveryRestrictionRepository,
                                      IAuditLogEventRepository auditLogEventRepository,
                                      IAuditLogRepository auditLogRepository,
                                      IPurchaseOrderRepository purchaseOrderRepository)
 {
     this.dbContext                            = dbContext;
     this.appConfigRepository                  = appConfigRepository;
     this.balingStationRepository              = balingStationRepository;
     this.userAccountRepository                = userAccountRepository;
     this.printLogRepository                   = printLogRepository;
     this.vehicleRepository                    = vehicleRepository;
     this.supplierRepository                   = supplierRepository;
     this.rawMaterialRepository                = rawMaterialRepository;
     this.sourceRepository                     = sourceRepository;
     this.moistureReaderRepository             = moistureReaderRepository;
     this.mcRepository                         = mcRepository;
     this.baleTypeRepository                   = baleTypeRepository;
     this.vehicleDeliveryRestrictionRepository = vehicleDeliveryRestrictionRepository;
     this.auditLogEventRepository              = auditLogEventRepository;
     this.auditLogRepository                   = auditLogRepository;
     this.purchaseOrderRepository              = purchaseOrderRepository;
 }
Exemple #2
0
 public SaleTransactionRepository(DatabaseContext dbContext,
                                  ILogger <SaleTransactionRepository> logger,
                                  IBalingStationRepository balingStationRepository,
                                  IUserAccountRepository userAccountRepository,
                                  IPrintLogRepository printLogRepository,
                                  IBaleRepository baleRepository,
                                  IVehicleRepository vehicleRepository,
                                  ICustomerRepository customerRepository,
                                  IHaulerRepository haulerRepository,
                                  IProductRepository productRepository,
                                  IMoistureReaderRepository moistureReaderRepository,
                                  IMoistureSettingsRepository moistureSettingsRepository,
                                  IAuditLogEventRepository auditLogEventRepository,
                                  IAuditLogRepository auditLogRepository,
                                  IPaperMillRepository paperMillRepository
                                  )
 {
     this.dbContext                = dbContext;
     this.printLogRepository       = printLogRepository;
     this.baleRepository           = baleRepository;
     this.vehicleRepository        = vehicleRepository;
     this.customerRepository       = customerRepository;
     this.haulerRepository         = haulerRepository;
     this.productRepository        = productRepository;
     this.moistureReaderRepository = moistureReaderRepository;
     this.mcRepository             = moistureSettingsRepository;
     this.auditLogEventRepository  = auditLogEventRepository;
     this.auditLogRepository       = auditLogRepository;
     this.logger = logger;
     this.balingStationRepository = balingStationRepository;
     this.userAccountRepository   = userAccountRepository;
     this.paperMillRepository     = paperMillRepository;
 }
 public BaleRepository(DatabaseContext dbContext,
                       ICategoryRepository catRepository,
                       IBalingStationRepository baleStationRepository,
                       IProductRepository productRepository,
                       IReminderRepository reminderRepository)
 {
     this.dbContext             = dbContext;
     this.catRepository         = catRepository;
     this.baleStationRepository = baleStationRepository;
     this.productRepository     = productRepository;
     this.reminderRepository    = reminderRepository;
 }
Exemple #4
0
 public InyardRepository(DatabaseContext dbContext,
                         IBalingStationRepository balingStationRepository,
                         IUserAccountRepository userAccountRepository,
                         IReferenceNumberRepository refNumRepository,
                         IAuditLogRepository auditLogRepository,
                         IAuditLogEventRepository auditLogEventRepository,
                         ISubSupplierRepository subSupplierRepository,
                         IMoistureSettingsRepository mcRepo,
                         IPurchaseGrossWtRestrictionRepository purchaseGrossWtRestrictionRepository,
                         IVehicleDeliveryRestrictionRepository vehicleDeliveryRestrictionRepository,
                         IVehicleRepository vehicleRepository,
                         IVehicleTypeRepository vehicleTypeRepository,
                         IRawMaterialRepository rawMaterialRepository,
                         IProductRepository productRepository,
                         ISupplierRepository supplierRepository,
                         IHaulerRepository haulerRepository,
                         IMoistureReaderRepository moistureReaderRepository,
                         IBaleTypeRepository baleTypeRepository,
                         ISourceRepository sourceRepository,
                         ICustomerRepository customerRepository,
                         IBaleRepository baleRepository,
                         IPurchaseOrderRepository purchaseOrderRepository,
                         IPaperMillRepository paperMillRepository)
 {
     this.dbContext = dbContext;
     this.balingStationRepository = balingStationRepository;
     this.userAccountRepository   = userAccountRepository;
     this.refNumRepository        = refNumRepository;
     this.auditLogRepository      = auditLogRepository;
     this.auditLogEventRepository = auditLogEventRepository;
     this.subSupplierRepository   = subSupplierRepository;
     this.mcRepo = mcRepo;
     this.purchaseGrossWtRestrictionRepository = purchaseGrossWtRestrictionRepository;
     this.vehicleDeliveryRestrictionRepository = vehicleDeliveryRestrictionRepository;
     this.vehicleRepository        = vehicleRepository;
     this.vehicleTypeRepository    = vehicleTypeRepository;
     this.rawMaterialRepository    = rawMaterialRepository;
     this.productRepository        = productRepository;
     this.supplierRepository       = supplierRepository;
     this.haulerRepository         = haulerRepository;
     this.moistureReaderRepository = moistureReaderRepository;
     this.baleTypeRepository       = baleTypeRepository;
     this.sourceRepository         = sourceRepository;
     this.customerRepository       = customerRepository;
     this.baleRepository           = baleRepository;
     this.purchaseOrderRepository  = purchaseOrderRepository;
     this.paperMillRepository      = paperMillRepository;
 }
Exemple #5
0
 public BalingStationsController(ILogger <BalingStationsController> logger, IBalingStationRepository repository)
 {
     this.repository = repository;
     this.logger     = logger;
 }