Esempio n. 1
0
        public async Task <QueryResult <IList <Tweet> > > GetQueryResultAsync(GetTweetsWithHashtagQuery query)
        {
            var handler = new GetTweetsWithHashtagQueryHandler(new CrateClient(_crateUrl));

            return(await handler.HandleAsync(query));
        }
Esempio n. 2
0
        public async Task <QueryResult <IList <Tweet> > > GetQueryResultAsync(GetTweetsWithHashtagQuery query)
        {
            var handler = new GetTweetsWithHashtagQueryHandler(this.client);

            return(await handler.HandleAsync(query));
        }