public async Task <EditionDto> CreateAsync(EditionCreateDto input) { var edition = await EditionManager.CreateAsync(input.DisplayName); await EditionRepository.InsertAsync(edition); return(ObjectMapper.Map <Edition, EditionDto>(edition)); }
public virtual Task CreateAsync(Edition edition) { return(EditionRepository.InsertAsync(edition)); }