public async Task SetAppointmentEndTime(int AppointmentId)
 {
     await _repo.SetAppointmentEndTime(AppointmentId);
 }