public async Task <QueryResult <double> > GetQueryResultAsync(GetAverageFollowersQuery query) { var handler = new GetAverageFollowersQueryHandler(new CrateClient(_crateUrl)); return(await handler.HandleAsync(query)); }
public async Task <QueryResult <double> > GetQueryResultAsync(GetAverageFollowersQuery query) { var handler = new GetAverageFollowersQueryHandler(this.client); return(await handler.HandleAsync(query)); }