Exemplo n.º 1
0
 public QMGContextSeedData(QMGContext context, UserManager <QMGUser> userManager, ILogger <QMGContextSeedData> logger, RoleManager <IdentityRole> roleManager)
 {
     _context     = context;
     _userManager = userManager;
     _logger      = logger;
     _roleManager = roleManager;
 }
Exemplo n.º 2
0
 public QMGRepository(QMGContext context, ILogger <QMGRepository> logger)
 {
     _context             = context;
     _logger              = logger;
     _currentProductCount = 0;
     //_redisCache = new RedisCache(Startup.Configuration["RedisCache:ConnectionString"]);
 }