예제 #1
0
 public ShopController(
     ILogger <ShopController> logger,
     ShopItemsContext shopItemsContext)
 {
     _logger           = logger;
     _shopItemsContext = shopItemsContext;
 }
예제 #2
0
 public AdminController(ShopItemsContext shopItemsContext)
 {
     _shopItemsContext = shopItemsContext;
 }
예제 #3
0
 public ShoppingCartController(ShopItemsContext shopItemsContext)
 {
     this._shopItemContext = shopItemsContext;
 }
예제 #4
0
 public CandleController(ShopItemsContext dbContext, IHttpContextAccessor accessor)
 {
     _dbContext = dbContext;
     _session   = accessor.HttpContext.Session;
 }