public async Task DeleteEditionAsync(string id) { var editionToDelete = await _editionRepository.GetEditionByIdAsync(id); if (editionToDelete is null) { throw new ServerException(Constants.Errors.EDITION_NOT_FOUND, Enums.Errors.NotFound); } await _editionRepository.DeleteEditionAsync(editionToDelete); }