public ActionResult LessonsList(int id) { LessonsDal gld = new LessonsDal(); List<Lesson> list = gld.GetLessons(id); return View(list); }