public virtual async Task <ResourceAppointmentDto> CreateAsync(ResourceAppointmentCreateDto input) { var resourceAppointment = _objectMapper.Map <ResourceAppointmentCreateDto, ResourceAppointment>(input); //resourceAppointment.TenantId = CurrentTenant.Id; resourceAppointment = await _resourceAppointmentRepository.InsertAsync(resourceAppointment, autoSave : true); return(_objectMapper.Map <ResourceAppointment, ResourceAppointmentDto>(resourceAppointment)); }
public async virtual Task <ResourceAppointmentDto> CreateAsync(ResourceAppointmentCreateDto input) { var created = await _resourceAppointmentAppService.CreateAsync(input); return(created); }