public PollDefinitionRepository(DbContextOptions <PollrContext> options,
                                 ILogger <PollDefinitionRepository> logger)
 {
     _context = new PollrContext(options);
     _logger  = logger;
 }
Exemplo n.º 2
0
 public DbUtils(DbContextOptions <PollrContext> options)
 {
     _context = new PollrContext(options);
 }