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