public List<Lesson> LessonList(int teacherid)
 {
     return lessonRepository.GetByFilter(x=>x.TeacherId==teacherid);
 }