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

            var events = match.Events.ToList();

            Assert.IsTrue(match.Id == 1);
        }
예제 #2
0
 public static async Task <MatchDetail> GetMatchDetailAsync(int id)
 {
     return(await repo.GetMatch(id, false));
 }