class ListTypeResolversImpl implements ListTypeResolvers {

    @Override
    public DataFetcher<ListType> deleteListTypeDataFetcher() {
        return environment -> {
            long listTypeId = util.getLongArg(environment, "listTypeId");

            return listtypeLocalService.deleteListType(listTypeId);
        };
    }

}