class ImageCatalogService extends AbstractWorkspaceAwareResourceService<ImageCatalog> implements ResourceBasedCrnProvider {

    public ImageCatalog delete(NameOrCrn imageCatalogNameOrCrn, Long workspaceId) {
        ImageCatalog catalog = get(imageCatalogNameOrCrn, workspaceId);
        return delete(workspaceId, catalog.getName());
    }

}