Example #1
0
        public EventModelDto Get(Guid id)
        {
            var eventQuery = new GetEvent(id);
            var model      = _eventsQueryHandler.Handle(eventQuery);

            return(model);
        }
        public EventModelDto Get(Guid id)
        {
            var eventQuery = new GetEvent(id);
            var eventModel = _eventsQueryHandler.Handle(eventQuery);

            eventModel.Users = _getPlayersQuery.Handle();

            return(eventModel);
        }
Example #3
0
 public HomeModel Get()
 {
     return(new HomeModel(_playerQueryBase.Handle(), _rssFeedQueryHandler.Handle(new RssFeedQuery(FeedUrl)), _eventsQueryHandler.Handle(), _resultsQueryHandler.Handle()));
 }