コード例 #1
0
        public Task DeleteAsync(Guid scheduleId, Guid appointmentId)
        {
            string route = GetByIdAppointmentRequest.Route.Replace("{ScheduleId}", scheduleId.ToString());

            route = route.Replace("{AppointmentId}", appointmentId.ToString());

            return(_httpService.HttpDeleteAsync <DeleteAppointmentResponse>(route));
        }
コード例 #2
0
 public Task DeleteAsync(int patientId)
 {
     return(_httpService.HttpDeleteAsync <DeletePatientResponse>("patients", patientId));
 }
コード例 #3
0
 public async Task DeleteAsync(int doctorId)
 {
     await _httpService.HttpDeleteAsync <DeleteDoctorResponse>("doctors", doctorId);
 }
コード例 #4
0
 public async Task DeleteAsync(int roomId)
 {
     await _httpService.HttpDeleteAsync <DeleteRoomResponse>("rooms", roomId);
 }
コード例 #5
0
 public async Task DeleteAsync(int clientId)
 {
     await _httpService.HttpDeleteAsync <DeleteClientResponse>("clients", clientId);
 }
コード例 #6
0
 public Task DeleteAsync(int doctorId)
 {
     return(_httpService.HttpDeleteAsync <DeleteDoctorResponse>("doctors", doctorId));
 }
コード例 #7
0
 public Task DeleteAsync(int clientId)
 {
     return(_httpService.HttpDeleteAsync <DeleteClientResponse>("clients", clientId));
 }
コード例 #8
0
 public async Task DeleteAsync(int patientId)
 {
     await _httpService.HttpDeleteAsync <DeletePatientResponse>("patients", patientId);
 }
コード例 #9
0
 public async Task DeleteAsync(Guid appointmentId)
 {
     await _httpService.HttpDeleteAsync <DeleteAppointmentResponse>("appointments", appointmentId);
 }