public Faculty addFaculty(Map<String, String[]> valuesOfFields, Long id){
        Faculty f = new Faculty();
        f.setName(valuesOfFields.get("name")[0]);
        if (id == null || id <= 0){
            dao.addObject(f);
        }
        else{
            f.setId(id);
            dao.updateObject(f);
        }
        
        return f;
    }