Esempio n. 1
0
 public async Task <AppointmentDto> EditAsync(UpdateAppointmentRequest appointment)
 {
     _logger.LogInformation($"Creating new appointment for {appointment}");
     return((await _httpService.HttpPutAsync <UpdateAppointmentResponse>(UpdateAppointmentRequest.Route, appointment)).Appointment);
 }
 public async Task <PatientDto> EditAsync(UpdatePatientRequest patient)
 {
     return((await _httpService.HttpPutAsync <UpdatePatientResponse>("patients", patient)).Patient);
 }
Esempio n. 3
0
 public async Task <RoomDto> EditAsync(UpdateRoomRequest room)
 {
     return((await _httpService.HttpPutAsync <UpdateRoomResponse>("rooms", room)).Room);
 }
Esempio n. 4
0
 public async Task <DoctorDto> EditAsync(UpdateDoctorRequest doctor)
 {
     return((await _httpService.HttpPutAsync <UpdateDoctorResponse>("doctors", doctor)).Doctor);
 }
 public async Task <ClientDto> EditAsync(UpdateClientRequest client)
 {
     return((await _httpService.HttpPutAsync <UpdateClientResponse>("clients", client)).Client);
 }
 public async Task <AppointmentDto> EditAsync(UpdateAppointmentRequest appointment)
 {
     return((await _httpService.HttpPutAsync <UpdateAppointmentResponse>("appointments", appointment)).Appointment);
 }