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