public VoterTally(ICacheOperation cacheOperation) { _cacheOperation = cacheOperation; voterTallyDB = new VoterTalleyDB(); selfRegistration = new SelfRegistration(cacheOperation); voteCandidate = new VoteCandidate(cacheOperation); }
public DemoPresenter(IDemoView view) { _view = view; _operation = new CacheOperation(); DeviceCache cacheInstance = DeviceCache.GetInstance(); cacheInstance.AddAction += AddDeviceToView; cacheInstance.RemoveAction += RemoveDeviceFromView; }
public VoteCandidate(ICacheOperation cacheOperation) { _cacheOperation = cacheOperation; //_toafcContextOptions = toafcContextOptions; voteCandidateDB = new VoteCandidateDB(); }
public VotePeriod(ICacheOperation cacheOperation) { _cacheOperation = cacheOperation; votePeriodDB = new VotePeriodDB(); }
public VotePeriodController(ICacheOperation cacheOperation) //: base(toafcContextOptions, cacheOperation) { votePeriod = new VotePeriod(cacheOperation); }
public SelfRegistrationController(ICacheOperation cacheOperation) { voterRegistration = new SelfRegistration(cacheOperation); }
public SelfRegistration(ICacheOperation cacheOperation) { _cacheOperation = cacheOperation; voteRegistrationDB = new SelfRegistrationDB(); }
public VotingEnabled(ICacheOperation cacheOperation) { _cacheOperation = cacheOperation; }
public VoterTalleyController(ICacheOperation cacheOperation) { voterTally = new VoterTally(cacheOperation); }
public BaseController(DbContextOptions <toafcContext> toafcContext = null, ICacheOperation cacheOperation = null) { _toafcContext = toafcContext; _cacheOperation = cacheOperation; }
public VotingEnabledController(ICacheOperation cacheOperation) { votingEnabled = new VotingEnabled(cacheOperation); }
public VoterRegistration(ICacheOperation cacheOperation) { _cacheOperation = cacheOperation; voteRegistrationDB = new VoteRegistrationDB(); }
public VoteCandidateController(ICacheOperation cacheOperation) //: base(toafcContextOptions, cacheOperation) { voteCandidate = new VoteCandidate(cacheOperation); }