public async Task DeleteEdition(EntityDto input) { var edition = await _editionManager.GetByIdAsync(input.Id); await _editionManager.DeleteAsync(edition); }
public async Task DeleteEdition(NullableIdDto input) { var edition = await _editionManager.GetByIdAsync(input.Id.Value); await _editionManager.DeleteAsync(edition); }