Exemplo n.º 1
0
        public async Task DeleteEdition(EntityDto input)
        {
            var edition = await _editionManager.GetByIdAsync(input.Id);

            await _editionManager.DeleteAsync(edition);
        }
Exemplo n.º 2
0
        public async Task DeleteEdition(DeleteEditionInput input)
        {
            var edition = await _editionManager.FindByIdAsync(input.EditionId);

            await _editionManager.DeleteAsync(edition);
        }