Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
 public virtual Task <SaasEditionDto> UpdateAsync(Guid id, SaasEditionUpdateDto input)
 {
     return(EditionAppService.UpdateAsync(id, input));
 }