public OptionsService(
     ILoggerAdapter <OptionsService> logger,
     IMetricService metrics,
     IOptionRepo optionRepo)
 {
     _optionRepo = optionRepo;
     _logger     = logger;
     _metrics    = metrics;
 }
Beispiel #2
0
 public PollRoutine(IPollRepo pollRepo, IOptionRepo optionRepo)
 {
     _pollRepo   = pollRepo;
     _optionRepo = optionRepo;
 }
Beispiel #3
0
 public ResultRoutine(IPollRepo pollRepo, IOptionRepo optionRepo, IVoteRepo voteRepo)
 {
     _pollRepo   = pollRepo;
     _optionRepo = optionRepo;
     _voteRepo   = voteRepo;
 }
 /// <summary>
 /// Initializa a new instance of <see cref="T:Business.Implementations.OptionRepository"/>
 /// </summary>
 /// <param name="dataRepository"></param>
 public OptionService(IOptionRepo dataRepository)
 {
     _dataRepository = dataRepository;
 }