public ElectionRepository(VotingDBContext context)
 {
     _context = context;
 }
Пример #2
0
 public UnitOfWork(VotingDBContext context)
 {
     _context = context;
 }
Пример #3
0
 public UserRepository(VotingDBContext context, IOptions <AppSettings> appSettings)
 {
     _context     = context;
     _appSettings = appSettings.Value;
 }