public EfSqlShopping(ShoppingDataContext context, IMapper mapper, MapperConfiguration config, IOptions <PricingConfiguration> pricing)
 {
     _context = context;
     _mapper  = mapper;
     _config  = config;
     _pricing = pricing;
 }
 public EfSqlProducts(ShoppingDataContext context, IMapper mapper, MapperConfiguration mapperConfig, IOptions <ConfigurationForPricing> pricingOptions)
 {
     _context        = context;
     _mapper         = mapper;
     _mapperConfig   = mapperConfig;
     _pricingOptions = pricingOptions;
 }
Exemple #3
0
 public CatalogController(ShoppingDataContext context, IConfiguration config, IMapper mapper, MapperConfiguration mapperConfig)
 {
     _context      = context;
     _config       = config;
     _mapper       = mapper;
     _mapperConfig = mapperConfig;
 }
Exemple #4
0
 public CatalogController(ShoppingDataContext context, IConfiguration config, IMapper mapper, MapperConfiguration mapperConfiguration, ILogger <CatalogController> logger)
 {
     _context             = context;
     _config              = config;
     _mapper              = mapper;
     _mapperConfiguration = mapperConfiguration;
     _logger              = logger;
 }
Exemple #5
0
 public CurbsideOrdersController(ILogger <CurbsideOrdersController> logger, IMapCurbsideOrders curbsideMapper, CurbsideChannel theChannel, ShoppingDataContext context, IHubContext <CurbsideHub> theHub)
 {
     this.logger    = logger;
     CurbsideMapper = curbsideMapper;
     TheChannel     = theChannel;
     Context        = context;
     TheHub         = theHub;
 }
 public EfOrderProcessor(ShoppingDataContext context, IMapper mapper, ISystemTime systemTime, MapperConfiguration config, CurbsideOrderChannel channel)
 {
     _context    = context;
     _mapper     = mapper;
     _systemTime = systemTime;
     _config     = config;
     _channel    = channel;
 }
 public CatalogController(ShoppingDataContext context, IConfiguration config, IMapper mapper, MapperConfiguration mapperConfig, ILogger <CatalogController> logger, IHubContext <CurbsideOrdersHub> hub)
 {
     _context      = context;
     _config       = config;
     _mapper       = mapper;
     _mapperConfig = mapperConfig;
     _logger       = logger;
     _hub          = hub;
 }
Exemple #8
0
 public CurbsideController(ShoppingDataContext context, IDoCurbsideQueries curbsideQueries, IDoCurbsideCommands curbsideCommands)
 {
     _context          = context;
     _curbsideQueries  = curbsideQueries;
     _curbsideCommands = curbsideCommands;
 }
 public ListItemRepository(ShoppingDataContext ctx)
 {
     _ctx = ctx;
 }
Exemple #10
0
 public EfSqlAsyncCurbside(ShoppingDataContext context, CurbsideChannel channel = null) : base(context)
 {
     _channel = channel;
 }
 public EfCurbsideMapper(ShoppingDataContext context, IMapper mapper, MapperConfiguration mapperConfig)
 {
     _context      = context;
     _mapper       = mapper;
     _mapperConfig = mapperConfig;
 }
Exemple #12
0
 public PantryController(ShoppingDataContext context)
 {
     _context = context;
 }
 public FoodItemsController(ShoppingDataContext context)
 {
     _context = context;
 }
 public GenericRepository(ShoppingDataContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
 public EfCurbsideMapper(ShoppingDataContext dataContext, IMapper mapper, MapperConfiguration mapperConfig)
 {
     DataContext  = dataContext;
     Mapper       = mapper;
     MapperConfig = mapperConfig;
 }
 public ShoppingListController(ShoppingDataContext dataContext, IMapper mapper, MapperConfiguration mapperConfig)
 {
     DataContext  = dataContext;
     Mapper       = mapper;
     MapperConfig = mapperConfig;
 }
Exemple #17
0
 public EfProducts(ShoppingDataContext context, IMapper mapper, MapperConfiguration config)
 {
     _context = context;
     _mapper  = mapper;
     _config  = config;
 }
 public CurbsideOrdersController(ShoppingDataContext context)
 {
     _context = context;
 }
 public ListItemRepository()
 {
     _ctx = new ShoppingDataContext();
 }
 public RecipesController(ShoppingDataContext context)
 {
     _context = context;
 }
 public CurbsideOrdersHub(ShoppingDataContext context, CurbsideChannel channel)
 {
     _context = context;
     _channel = channel;
 }
Exemple #22
0
 public EfSqlSyncCurbside(ShoppingDataContext context)
 {
     _context = context;
 }
 public EntityFrameworkCurbsideData(ShoppingDataContext context, IMapper mapper, CurbsideChannel channel)
 {
     _context = context;
     _mapper  = mapper;
     _channel = channel;
 }
 public CurbsideOrdersController(IMapCurbisdeOrders curbsideMapper, CurbsideChannel channel, ShoppingDataContext context)
 {
     _curbsideMapper = curbsideMapper;
     _channel        = channel;
     _context        = context;
 }