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