Exemple #1
0
 def take_edit_group(id: int):
     return Groups.take_edit_group(id)
Exemple #2
0
 def get_course_name(teacher_id: int):
     return Groups.get_course_name(teacher_id)
Exemple #3
0
 def all(self):
     return Groups.all()
Exemple #4
0
 def all_teachers(self):
     return Groups.all_teachers()
Exemple #5
0
 def get_all_groups_by_teacher(teacher_id: int):
     return Groups.get_all_groups_by_teacher(teacher_id)
Exemple #6
0
 def find_by_id(self, id):
     return Groups.find_by_id(id)
Exemple #7
0
 def delete(self, id: int):
     return Groups.delete(id)
Exemple #8
0
 def edit(self, fields: list, id: int):
     self.form_is_valid(fields)
     return Groups.edit(fields, id)
Exemple #9
0
 def new(self, fields: list):
     self.form_is_valid(fields)
     return Groups.new(fields)
Exemple #10
0
 def get_all(self):
     return Groups.get_all()