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));
        }
示例#2
0
 public virtual Task <EditionDto> UpdateAsync(Guid id, EditionUpdateDto input)
 {
     return(EditionAppService.UpdateAsync(id, input));
 }