Ejemplo n.º 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));
        }
 public Task DeleteAsync(int patientId)
 {
     return(_httpService.HttpDeleteAsync <DeletePatientResponse>("patients", patientId));
 }
Ejemplo n.º 3
0
 public async Task DeleteAsync(int doctorId)
 {
     await _httpService.HttpDeleteAsync <DeleteDoctorResponse>("doctors", doctorId);
 }
Ejemplo n.º 4
0
 public async Task DeleteAsync(int roomId)
 {
     await _httpService.HttpDeleteAsync <DeleteRoomResponse>("rooms", roomId);
 }
 public async Task DeleteAsync(int clientId)
 {
     await _httpService.HttpDeleteAsync <DeleteClientResponse>("clients", clientId);
 }
Ejemplo n.º 6
0
 public Task DeleteAsync(int doctorId)
 {
     return(_httpService.HttpDeleteAsync <DeleteDoctorResponse>("doctors", doctorId));
 }
 public Task DeleteAsync(int clientId)
 {
     return(_httpService.HttpDeleteAsync <DeleteClientResponse>("clients", clientId));
 }
 public async Task DeleteAsync(int patientId)
 {
     await _httpService.HttpDeleteAsync <DeletePatientResponse>("patients", patientId);
 }
 public async Task DeleteAsync(Guid appointmentId)
 {
     await _httpService.HttpDeleteAsync <DeleteAppointmentResponse>("appointments", appointmentId);
 }