public async Task Select(RankedResult selection) { await _dbAdapter.SetSelection(new Selection(selection.Count + 1, selection.SearchKey)); }
private int SortRankedResults(RankedResult a, RankedResult b) { return(a.Key.CompareTo(b.Key)); }