public ShopController( ILogger <ShopController> logger, ShopItemsContext shopItemsContext) { _logger = logger; _shopItemsContext = shopItemsContext; }
public AdminController(ShopItemsContext shopItemsContext) { _shopItemsContext = shopItemsContext; }
public ShoppingCartController(ShopItemsContext shopItemsContext) { this._shopItemContext = shopItemsContext; }
public CandleController(ShopItemsContext dbContext, IHttpContextAccessor accessor) { _dbContext = dbContext; _session = accessor.HttpContext.Session; }