class AssetVocabularyResolversImpl implements AssetVocabularyResolvers {

    @Override
    public DataFetcher<AssetVocabulary> deleteAssetVocabularyDataFetcher() {
        return environment -> {
            long vocabularyId = util.getLongArg(environment, "vocabularyId");

            return assetVocabularyLocalService.deleteAssetVocabulary(vocabularyId);
        };
    }

}