示例#1
0
 public RequestGroupController(
     TolkDbContext dbContext,
     IAuthorizationService authorizationService,
     RequestService requestService,
     ISwedishClock clock,
     ILogger <OrderController> logger,
     IOptions <TolkOptions> options,
     InterpreterService interpreterService,
     PriceCalculationService priceCalculationService,
     OrderService orderService,
     ListToModelService listToModelService,
     CacheService cacheService)
 {
     _dbContext            = dbContext;
     _authorizationService = authorizationService;
     _requestService       = requestService;
     _clock                   = clock;
     _logger                  = logger;
     _options                 = options.Value;
     _interpreterService      = interpreterService;
     _priceCalculationService = priceCalculationService;
     _cacheService            = cacheService;
     _orderService            = orderService;
     _listToModelService      = listToModelService;
 }
示例#2
0
 public RequisitionController(
     TolkDbContext dbContext,
     IAuthorizationService authorizationService,
     ILogger <RequisitionController> logger,
     IOptions <TolkOptions> options,
     RequisitionService requisitionService,
     ListToModelService listToModelService,
     EventLogService eventLogService
     )
 {
     _dbContext            = dbContext;
     _authorizationService = authorizationService;
     _logger             = logger;
     _options            = options?.Value;
     _requisitionService = requisitionService;
     _listToModelService = listToModelService;
     _eventLogService    = eventLogService;
 }
示例#3
0
 public OrderGroupController(
     TolkDbContext dbContext,
     IAuthorizationService authorizationService,
     OrderService orderService,
     ISwedishClock clock,
     ILogger <OrderController> logger,
     CacheService cacheService,
     ListToModelService listToModelService,
     RequestService requestService
     )
 {
     _dbContext            = dbContext;
     _authorizationService = authorizationService;
     _orderService         = orderService;
     _clock              = clock;
     _logger             = logger;
     _cacheService       = cacheService;
     _listToModelService = listToModelService;
     _requestService     = requestService;
 }