public void UpdateCell(string groupName, GridCell cell) { db.UpdateSudoku(groupName, cell); var sudoku = db.GetSudoku(groupName); // updated sudoku.// var updatedCell = sudoku.Grid[cell.RowIndex].Cells[cell.ColIndex]; // Trigger the update to all users of that Group.// Clients.Group(groupName).cellUpdated(updatedCell, sudoku); }
internal static void UpdateSudoku(string groupName, GridCell cell) { Sudokus[groupName].Grid[cell.RowIndex].Cells[cell.ColIndex].Data = cell.Data; }
internal static void UpdateSudoku(string groupName, GridCell cell) { Sudokus[groupName].Grid[cell.RowIndex].Cells[cell.ColIndex].Data = cell.Data; }