public StatisticsInteractor( IVotingSystemPersistance persistance, ICounterManager counterManager) { _persistance = persistance; _counterManager = counterManager; }
public VotingTests() { _ctx = DbContextFactory.Create(Guid.NewGuid().ToString()); _persistance = new VotingSystemPersistance(_ctx); _votingInteractor = new VotingInteractor(_persistance); _pollInteractor = new VotingPollInteractor(new VotingPollFactory(), _persistance); }
public VotingPollInteractor( IVotingPollFactory factory, IVotingSystemPersistance persistance) { _factory = factory; _persistance = persistance; }
public VotingInteractor(IVotingSystemPersistance persistance) { _persistance = persistance; }
public StatisticsInteractor(IVotingSystemPersistance persistance) { _persistance = persistance; }