public async Task <IEnumerable <Hit> > GetHits() { using (var query = await Query("[dbo].[GetHits]") .CommandType(CommandType.StoredProcedure) .ExecuteAsync()) { var hits = new List <Hit>(); while (await query.ReadAsync()) { hits.Add(Hit.FromResult(query)); } return(hits); } }