public CountdownController(ICountdownRepository countdownRepository,
                            IVoteService voteService,
                            IContextService contextService) {
     _countdownRepository = countdownRepository;
     _voteService = voteService;
     _contextService = contextService;
 }
Exemple #2
0
 public NotificationService(INotificationHub notificationHub, INotificationRepository notificationRepository, ICountdownRepository countdownRepository, ICommentRepository commentRepository)
 {
     _notificationHub        = notificationHub;
     _notificationRepository = notificationRepository;
     _countdownRepository    = countdownRepository;
     _commentRepository      = commentRepository;
 }
 public CountdownController(ICountdownRepository countdownRepository, IVoteRepository voteRepository, IContextService contextService, ISystemClock systemClock, INotificationService notificationService)
 {
     _countdownRepository = countdownRepository;
     _voteRepository      = voteRepository;
     _contextService      = contextService;
     _systemClock         = systemClock;
     _notificationService = notificationService;
 }
Exemple #4
0
 public VoteService(IVoteRepository voteRepository,
                    INotificationDispatcher notificationDispatcher,
                    IAccountRepository accountRepository,
                    ICountdownRepository countdownRepository) {
     _voteRepository = voteRepository;
     _notificationDispatcher = notificationDispatcher;
     _accountRepository = accountRepository;
     _countdownRepository = countdownRepository;
 }
 public HomeController(ICountdownRepository repo)
 {
     _repo = repo;
 }
        public CountdownItemsController(ICountdownRepository repo)
        {
            _repo = repo;

        }