示例#1
0
        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));
 }