예제 #1
0
파일: UnitTest1.cs 프로젝트: box90/RCW2019
        public async System.Threading.Tasks.Task TestResultsAsync()
        {
            MatchesRepository rep = new MatchesRepository();
            var matches           = await rep.GetResults();

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