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

            await EditionRepository.InsertAsync(edition);

            return(ObjectMapper.Map <Edition, EditionDto>(edition));
        }
Esempio n. 2
0
 public virtual Task CreateAsync(Edition edition)
 {
     return(EditionRepository.InsertAsync(edition));
 }