public BaseController()
 {
     this.userService                 = new UserService();
     this.rightService                = new RightService();
     this.locationService             = new LocationService();
     this.organisationService         = new OrganisationService();
     this.siteService                 = new SiteService();
     this.billService                 = new BillService();
     this.itemService                 = new ItemService();
     this.requestToAcquireItemService = new RequestToAcquireAssestService();
     this.eventService                = new EventService();
     this.assetService                = new AssetService();
     this.assetHistoryService         = new AssetHistoryService();
     this.requestForScrappingService  = new RequestForScrappingService();
     this.requestForRelocationService = new RequestForRelocationService();
     this.requestForRenovationService = new RequestForRenovationService();
     this.providerService             = new ProviderService();
     this.packingSlipService          = new PackingSlipService();
     this.requestForAssetService      = new RequestForAssetService();
     this.requestToProviderService    = new RequestToProviderService();
     this.currencyService             = new CurrencyService();
     this.invoiceService              = new InvoiceService();
     this.exchangeService             = new ExchangeRateService();
     this.accidentService             = new AccidentService();
     this.securityGroupService        = new SecurityGroupService();
 }
Exemple #2
0
 public OrderService(IOrderRepository orderRepository, IPartRepository partRepository, IPackingSlipService packingSlipService,
                     IEntityTrackerRepository entityTrackerRepository)
 {
     _orderRepository             = orderRepository;
     _partRepository              = partRepository;
     _packingSlipService          = packingSlipService;
     this.entityTrackerRepository = entityTrackerRepository;
 }
Exemple #3
0
 public PartsController(IPartService partService, IPoService poService, ISupplierInvoiceService supplierInvoiceService,
                        IOrderService orderService, IPackingSlipService packingSlipService)
 {
     this._partService            = partService;
     this._poService              = poService;
     this._supplierInvoiceService = supplierInvoiceService;
     this._orderService           = orderService;
     this._packingSlipService     = packingSlipService;
 }
Exemple #4
0
 public FileController(IPackingSlipService packingSlipService,
                       IMasterPackingSlipService masterPackingSlipService,
                       ISupplierInvoiceService supplierInvoice,
                       IOrderService orderService,
                       ILogger <FileController> logger,
                       IOptions <AppSettings> appSettings,
                       ICompanyService companyService)
 {
     this.packingSlipService       = packingSlipService;
     this.masterPackingSlipService = masterPackingSlipService;
     this.supplierInvoice          = supplierInvoice;
     this.orderService             = orderService;
     this.logger         = logger;
     this.companyService = companyService;
     this._appSettings   = appSettings.Value;
 }
Exemple #5
0
 public InvoicesController(IPackingSlipService packingSlipService,
                           ILogger <InvoicesController> logger)
 {
     this.packingSlipService = packingSlipService;
     this.logger             = logger;
 }
 public PackingSlipsController(IPackingSlipService packingSlipService, IOptions <AppSettings> appSettings, ICompanyService companyService)
 {
     this.packingSlipService = packingSlipService;
     _appSettings            = appSettings.Value;
     this.companyService     = companyService;
 }
Exemple #7
0
 public CustomerAccessController(IPackingSlipService packingSlipService, IMasterPackingSlipService masterPackingSlipService)
 {
     this.packingSlipService       = packingSlipService;
     this.masterPackingSlipService = masterPackingSlipService;
 }
Exemple #8
0
 public OrderService(IOrderRepository orderRepository, IPartRepository partRepository, IPackingSlipService packingSlipService)
 {
     _orderRepository    = orderRepository;
     _partRepository     = partRepository;
     _packingSlipService = packingSlipService;
 }