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