public async Task <EditionDto> CreateAsync(EditionCreateDto input)
        {
            var edition = await EditionManager.CreateAsync(input.DisplayName);

            await EditionRepository.InsertAsync(edition);

            return(ObjectMapper.Map <Edition, EditionDto>(edition));
        }
Ejemplo n.º 2
0
 public Task <EditionDto> CreateAsync(EditionCreateDto input)
 {
     //ValidateModel();
     return(EditionAppService.CreateAsync(input));
 }