class AssetCategoryResolversImpl implements AssetCategoryResolvers {

    @Override
    public DataFetcher<AssetCategory> deleteAssetCategoryDataFetcher() {
        return environment -> {
            long categoryId = util.getLongArg(environment, "categoryId");

            return assetCategoryLocalService.deleteAssetCategory(categoryId);
        };
    }

}