/// <summary>
        /// Selects all Enquiry by Couse, related to column CourseId, sorted by the sort expression
        /// </summary>
        public static List <Enquiry> SelectEnquiryCollectionByCourseId(int couseid, string sortByExpression)
        {
            List <Enquiry> objEnquiryCol = EnquiryDataLayer.SelectEnquiryCollectionByCourseId(couseid);

            return(SortByExpression(objEnquiryCol, sortByExpression));
        }
 /// <summary>
 /// Selects all Enquiry by Couse, related to column CourseId
 /// </summary>
 public static List <Enquiry> SelectEnquiryCollectionByCourseId(int couseid)
 {
     return(EnquiryDataLayer.SelectEnquiryCollectionByCourseId(couseid));
 }