class LayoutResolversImpl implements LayoutResolvers {

    @Override
    public DataFetcher<Layout> deleteLayoutDataFetcher() {
        return environment -> {
            long layoutId = util.getLongArg(environment, "layoutId");

            return layoutLocalService.deleteLayout(layoutId);
        };
    }

}