public IEnumerable <Course> GetAllCourses(Func <Course, bool> predicat = null)
 {
     return(dal.GetAllCourses(predicat));
 }