Example #1
0
 public IQueryable <CourseDTO> Getc()
 {
     return(_courseServices.GetCourses());
 }
Example #2
0
 public IActionResult Index()
 {
     return(View(_courseServices.GetCourses()));
 }
Example #3
0
 public IEnumerable <Course> Get()
 {
     return(_ctx.GetCourses());
 }