Пример #1
0
 public ProductCategoriesController(InitCMSContext context)
 {
     _context = context;
 }
Пример #2
0
 public OrderRepository(InitCMSContext context, ShoppingCart shoppingCart)
 {
     _context      = context;
     _shoppingCart = shoppingCart;
 }
Пример #3
0
 public StoreController(InitCMSContext context)
 {
     _context = context;
 }
Пример #4
0
 public UsersController(InitCMSContext context)
 {
     _context = context;
 }
Пример #5
0
 public ProductsController(InitCMSContext context, IWebHostEnvironment hostEnvironment)
 {
     _context           = context;
     webHostEnvironment = hostEnvironment;
 }
Пример #6
0
 public ShoppingCart(InitCMSContext context)
 {
     _context = context;
 }
Пример #7
0
 public HomeController(ILogger <HomeController> logger, InitCMSContext context)
 {
     _logger  = logger;
     _context = context;
 }