public async Task <SaasEditionDto> UpdateAsync(Guid id, SaasEditionUpdateDto input) { var edition = await EditionRepository.GetAsync(id); await EditionManager.ChangeNameAsync(edition, input.DisplayName); await EditionRepository.UpdateAsync(edition); return(ObjectMapper.Map <SaasEdition, SaasEditionDto>(edition)); }
public virtual Task <SaasEditionDto> UpdateAsync(Guid id, SaasEditionUpdateDto input) { return(EditionAppService.UpdateAsync(id, input)); }