/// <summary> /// Selects records as a collection (List) of Course sorted by the sortByExpression and returns the rows (# of records) starting from the startRowIndex /// </summary> public static List <Course> SelectSkipAndTake(int rows, int startRowIndex, string sortByExpression) { sortByExpression = GetSortExpression(sortByExpression); return(CourseDataLayer.SelectSkipAndTake(sortByExpression, startRowIndex, rows)); }