Пример #1
0
 public static function hasAppointmentWithId($tutorId, $appointmentId)
 {
     self::validateId($tutorId);
     Appointment::validateId($appointmentId);
     return TutorFetcher::hasAppointmentWithId($tutorId, $appointmentId);
 }
Пример #2
0
 public static function deleteWithAppointmentId($appointmentId)
 {
     Appointment::validateId($appointmentId);
     return ReportFetcher::deleteWithAppointmentId($appointmentId);
 }