Exemple #1
0
        public async System.Threading.Tasks.Task TestResultsAsync()
        {
            MatchesRepository rep = new MatchesRepository();
            var matches           = await rep.GetResults();

            Assert.IsTrue(matches.Any());
        }
Exemple #2
0
 public static async Task <List <Match> > GetMatchesAsync()
 {
     return((await repo.GetResults()).ToList());
 }