예제 #1
0
 public async Task<ActionResult> IsValid(Sudoku sudoku)
 {
     var result = await this.sudokuService.IsValid(sudoku);
     return Json(result);
 }
예제 #2
0
        public async Task<bool> IsValid(Sudoku sudoku) 
        {
            var response = await httpService.PostAsync(baseURL + "IsValidGame", sudoku);

            return JsonConvert.DeserializeObject<bool>(response);
        }