/// <summary> /// Selects records based on the passed filters as a collection (List) of Course sorted by the sort expression. /// </summary> public static List <Course> SelectAllDynamicWhere(int?courseId, string courseName, DateTime?startDate, DateTime?endDate, decimal?fees, string sortByExpression) { List <Course> objCourseCol = CourseDataLayer.SelectAllDynamicWhere(courseId, courseName, startDate, endDate, fees); return(SortByExpression(objCourseCol, sortByExpression)); }
/// <summary> /// Selects records based on the passed filters as a collection (List) of Course. /// </summary> public static List <Course> SelectAllDynamicWhere(int?courseId, string courseName, DateTime?startDate, DateTime?endDate, decimal?fees) { return(CourseDataLayer.SelectAllDynamicWhere(courseId, courseName, startDate, endDate, fees)); }