Пример #1
0
 public XmasTreeSeeder(XmasTreeContext ctx, IHostingEnvironment hosting, UserManager <StoreUser> userManager)
 {
     _ctx         = ctx;
     _hosting     = hosting;
     _userManager = userManager;
 }
Пример #2
0
 public ProductRepository(XmasTreeContext ctx, ILogger <ProductRepository> logger)
 {
     _ctx    = ctx;
     _logger = logger;
 }
Пример #3
0
 public OrderRepository(XmasTreeContext ctx, ILogger <OrderRepository> logger)
 {
     _logger = logger;
     _ctx    = ctx;
 }