public virtual async Task <ResourceAppointmentDto> UpdateAsync(Guid id, ResourceAppointmentUpdateDto input) { var resourceAppointment = await _resourceAppointmentRepository.GetAsync(id); _objectMapper.Map(input, resourceAppointment); resourceAppointment = await _resourceAppointmentRepository.UpdateAsync(resourceAppointment); return(_objectMapper.Map <ResourceAppointment, ResourceAppointmentDto>(resourceAppointment)); }
public async Task <ResourceAppointmentDto> UpdateAsync(Guid id, ResourceAppointmentUpdateDto input) { return(await _resourceAppointmentAppService.UpdateAsync(id, input)); }