class RoleResolversImpl implements RoleResolvers {

    @Override
    public DataFetcher<Role> deleteRoleDataFetcher() {
        return environment -> {
            long roleId = util.getLongArg(environment, "roleId");

            return roleLocalService.deleteRole(roleId);
        };
    }

}