예제 #1
0
 // GET: Courses
 public ActionResult Index()                          //returnam prin actiunea Index toate cursurile
 {
     return(View(_coursesrepositories.AllCourses())); //se apeleaza metoda din CoursesRepository si se transmit in View-ul aferent
 }