Пример #1
0
 public OrderController(ApplicationDbContext context, IOrderService orderService, IOrderMessageService orderMessageService, ILabworksService labworksService, IFinancialService financialService, IOptions <AppSettings> appSettings)
 {
     _context             = context;
     _orderService        = orderService;
     _orderMessageService = orderMessageService;
     _labworksService     = labworksService;
     _financialService    = financialService;
     _appSettings         = appSettings.Value;
 }
Пример #2
0
 public LabController(ApplicationDbContext dbContext, IOrderService orderService, ILabworksService labworksService, IOrderMessageService orderMessageService, IFileStorageService fileStorageService, ISlothService slothService)
 {
     _dbContext           = dbContext;
     _orderService        = orderService;
     _labworksService     = labworksService;
     _orderMessageService = orderMessageService;
     _fileStorageService  = fileStorageService;
     _slothService        = slothService;
 }
Пример #3
0
 public ResultsController(ApplicationDbContext context,
                          IFileStorageService fileStorageService,
                          IDataSigningService dataSigningService,
                          IOptions <CyberSourceSettings> cyberSourceSettings,
                          IOptions <AppSettings> appSettings,
                          IOrderMessageService orderMessageService)
 {
     _context             = context;
     _fileStorageService  = fileStorageService;
     _dataSigningService  = dataSigningService;
     _orderMessageService = orderMessageService;
     _appSettings         = appSettings.Value;
     _cyberSourceSettings = cyberSourceSettings.Value;
 }
Пример #4
0
 public PaymentController(ApplicationDbContext context, IOrderMessageService orderMessageService, IDataSigningService dataSigningService)
 {
     _context             = context;
     _orderMessageService = orderMessageService;
     _dataSigningService  = dataSigningService;
 }