public void executeAdmin(Object object) {
        if (object instanceof Category) {
            for (Category category : approveCategories) {
                approveCategory(category.getName());
            }
            approveCategories.clear();
        }
        if (object instanceof Client) {
            try {
                deleteClients(deleteClients);
            } catch (Exception ex) {
                Logger.getLogger(Controller.class.getName()).log(Level.SEVERE, null, ex);
            }
            deleteClients.clear();
        }
        if (object instanceof Question) {
            for (Question question : approveQuestions) {
                approveQuestion(question);
            }
            approveQuestions.clear();
        }
    }