robe-admin/src/main/java/io/robe/admin/resources/SystemParameterResource.java
@RobeService(group = "SystemParameter", description = "Create or update SystemParameter resource.")
    @POST
    @Path("admin")
    @UnitOfWork
    public Map<String, String> bulkSaveOrUpdate(Map<String, String> values) {

        for (Map.Entry<String, String> entry : values.entrySet()) {


            Optional<SystemParameter> optionalParameter = systemParameterDao.findByKey(entry.getKey());

            SystemParameter parameter;
            if (!optionalParameter.isPresent()) {
                parameter = new SystemParameter();
                parameter.setKey(entry.getKey());
                parameter.setValue(entry.getValue());
            } else {
                parameter = optionalParameter.get();
                parameter.setValue(entry.getValue());
            }

            systemParameterDao.update(parameter);
        }


        return values;
    }
@RobeService(group = "SystemParameter", description = "Create or update SystemParameter resource.")
    @POST
    @Path("admin")
    @UnitOfWork
    public Map<String, String> bulkSaveOrUpdate(Map<String, String> values) {

        for (Map.Entry<String, String> entry : values.entrySet()) {


            Optional<SystemParameter> optionalParameter = systemParameterDao.findByKey(entry.getKey());

            SystemParameter parameter;
            if (!optionalParameter.isPresent()) {
                parameter = new SystemParameter();
                parameter.setKey(entry.getKey());
                parameter.setValue(entry.getValue());
            } else {
                parameter = optionalParameter.get();
                parameter.setValue(entry.getValue());
            }

            systemParameterDao.update(parameter);
        }


        return values;
    }
Create or update {@link SystemParameter) resource.

@param credentials Injected by {@link RobeAuth} annotation for authentication.
@param model       This is the one model of {@link SystemParameter}
@return Create {@link SystemParameter) resource and return given SystemParameter path link at header Location=example/{id].