示例#1
0
        public async System.Threading.Tasks.Task TestStartAsync()
        {
            MatchesRepository rep = new MatchesRepository();
            var match             = await rep.StartMatch(1);

            Assert.IsTrue(match);
        }
示例#2
0
 public static async Task <bool> StartMatchAsync(int id)
 {
     return(await repo.StartMatch(id));
 }