public static SearchSorter GetSearchSorter(LoginUser loginUser, int sorterID) { SearchSorters searchSorters = new SearchSorters(loginUser); searchSorters.LoadBySorterID(sorterID); if (searchSorters.IsEmpty) { return(null); } else { return(searchSorters[0]); } }
public SearchSorter(DataRow row, SearchSorters searchSorters) : base(row, searchSorters) { _searchSorters = searchSorters; }