public void viewSelectedCategoryProjects(Map<Integer, Project> projectList) {
   int i = 1;
   for (Project p : projectList.values()) {
     System.out.println("Press " + i + " to select -> " + p.getTitle());
     i++;
   }
 }
 public void singleCategorysProjectsView(Project p) {
   System.out.println(
       "\nProject Title : "
           + p.getTitle()
           + "\n Project Discription :"
           + p.getDiscription()
           + "\n Project History : "
           + p.getProjectHistory()
           + "\n Video Link : "
           + p.getVideoLink()
           + "\n Required Sum :"
           + p.getRequiredSum()
           + "\n Gained Sum :"
           + p.getGainedSum()
           + "\n Days Left :"
           + p.getDaysLeft()
           + "\n QustionSection : "
           + p.getQuestionSection());
 }
 public void categorysProjectsView(Map<Integer, Project> projectList) {
   if (projectList.size() == 1) {
     for (Project p : projectList.values()) {
       System.out.println(
           "Project Title : "
               + p.getTitle()
               + "\n Project Discription :"
               + p.getDiscription()
               + "\n Project History : "
               + p.getProjectHistory()
               + "\n Video Link : "
               + p.getVideoLink()
               + "\n Required Sum :"
               + p.getRequiredSum()
               + "\n Gained Sum :"
               + p.getGainedSum()
               + "\n Days Left :"
               + p.getDaysLeft()
               + "\n");
     }
   } else {
     for (Project p : projectList.values()) {
       System.out.println(
           "Project Title : "
               + p.getTitle()
               + "\n Project Discription :"
               + p.getDiscription()
               + "\n Required Sum :"
               + p.getRequiredSum()
               + "\n Gained Sum :"
               + p.getGainedSum()
               + "\n Days Left :"
               + p.getDaysLeft()
               + "\n");
     }
   }
 }
 public void addNewQuestion(String newQuestion, int projectNumber, String categoryTitle) {
   Project p = prm.getOne(categoryTitle, projectNumber);
   String questionSection = p.getQuestionSection();
   p.setQuestionSection(questionSection += newQuestion + "\n");
 }