def get_all_by_teacher_id(self, teacher_id: int): return Lessons.get_all_by_teacher_id(teacher_id)
def new(self, group_id, title, description, file_path, lesson_date): return Lessons.new(group_id, title, description, file_path, lesson_date)
def get_all(self): return Lessons().get_all()
def find_by_id(self, id): return Lessons.find_by_id(id)
def all(self, group_id): return Lessons.get_lessons_by_group_id(group_id)
def delete(self, id): return Lessons.delete(id)
def edit(self, title, description, file_path, lesson_date): return Lessons.edit(title, description, file_path, lesson_date)