Example #1
0
 public BackgroundOrderProcessor(ILogger <BackgroundOrderProcessor> logger, CurbsideOrderChannel channel, IServiceProvider serviceProvider, ISystemTime systemTime, IHubContext <ShoppingHub> hub)
 {
     _logger          = logger;
     _channel         = channel;
     _serviceProvider = serviceProvider;
     _systemTime      = systemTime;
     _hub             = hub;
 }
 public EfOrderProcessor(ShoppingDataContext context, IMapper mapper, ISystemTime systemTime, MapperConfiguration config, CurbsideOrderChannel channel)
 {
     _context    = context;
     _mapper     = mapper;
     _systemTime = systemTime;
     _config     = config;
     _channel    = channel;
 }