Esempio n. 1
0
 public static function hasAppointmentWithId($tutorId, $appointmentId)
 {
     self::validateId($tutorId);
     Appointment::validateId($appointmentId);
     return TutorFetcher::hasAppointmentWithId($tutorId, $appointmentId);
 }
Esempio n. 2
0
 public static function deleteWithAppointmentId($appointmentId)
 {
     Appointment::validateId($appointmentId);
     return ReportFetcher::deleteWithAppointmentId($appointmentId);
 }