class RecipeService extends AbstractArchivistService<Recipe> implements ResourceBasedCrnProvider {

    public Recipe delete(NameOrCrn recipeNameOrCrn, Long workspaceId) {
        Recipe toDelete = get(recipeNameOrCrn, workspaceId);
        Recipe deleted = super.delete(toDelete);
        grpcUmsClient.notifyResourceDeleted(deleted.getResourceCrn(), MDCUtils.getRequestId());
        return deleted;
    }

}