public async System.Threading.Tasks.Task TestResultsAsync() { MatchesRepository rep = new MatchesRepository(); var matches = await rep.GetResults(); Assert.IsTrue(matches.Any()); }
public static async Task <List <Match> > GetMatchesAsync() { return((await repo.GetResults()).ToList()); }