public DataTable GetById(int id) { try { CourseDAL courseDAL = new CourseDAL(); return(courseDAL.GetById(id)); } catch (Exception) { throw; } }
public Course GetCourseById(int id) { return(new Course(_courseDAL.GetById(id))); }