class DDMStructureResolversImpl implements DDMStructureResolvers {

    @Override
    public DataFetcher<DDMStructure> deleteDDMStructureDataFetcher() {
        return environment -> {
            long structureId = util.getLongArg(environment, "structureId");

            return ddmStructureLocalService.deleteDDMStructure(structureId);
        };
    }

}