public ElectionRepository(VotingDBContext context) { _context = context; }
public UnitOfWork(VotingDBContext context) { _context = context; }
public UserRepository(VotingDBContext context, IOptions <AppSettings> appSettings) { _context = context; _appSettings = appSettings.Value; }