public PartiesRepository(ApplicationDbContext dbContext, IAppCache appCache) { _dbContext = dbContext; _appCache = appCache; _cacheSettings = MemoryCache.Parties; }
public ElectionsRepository(ApplicationDbContext dbContext, IAppCache appCache) { _dbContext = dbContext; _appCache = appCache; _cacheSettings = MemoryCache.Elections; }
public BallotsRepository(ApplicationDbContext dbContext, IAppCache appCache) { _dbContext = dbContext; _appCache = appCache; _cacheSettings = MemoryCache.Ballots; }