/// <summary>
 /// Places a question
 /// </summary>
 /// <param name="question">The question details</param>
 /// <param name="message">The message of the error</param>
 /// <returns>Success</returns>
 public bool Place(Questiondetails question, out string message)
 {
     //Check for rights
     if (MainUser.Role == Accounttype.Hulpbehoevende)
     {
         //TODO: Validate details
         //Place question
         Question q = new Question(0, MainUser.ID, question.Title, question.StartDate, question.EndDate, question.Description, question.Urgent, question.Location, question.AmountAccs, question.Skills, new List<int>());
         q.Create();
         message = "Vraag gepost!";
         return true;
     }
     else
     {
         message = "U hebt niet de rechten om een vraag te plaatsen";
         return false;
     }
 }
 /// <summary>
 /// Edits a question
 /// </summary>
 /// <param name="question">The question details</param>
 /// <param name="questionIndex">The index of the question as loaded in the list</param>
 /// <param name="message">The message of the error</param>
 /// <returns>Success</returns>
 public bool Edit(Questiondetails question, int questionIndex, out string message)
 {
     //Check for rights
     if (LoadedQuestions[questionIndex].PosterID == MainUser.ID)
     {
         //TODO: Validate details
         //Edit question
         Question q = new Question(LoadedQuestions[questionIndex].PostID, MainUser.ID, question.Title, question.StartDate, question.EndDate, question.Description, question.Urgent, question.Location, question.AmountAccs, question.Skills, LoadedQuestions[questionIndex].Volunteers);
         q.Update();
         message = "Vraag succesvol aangepast!";
         return true;
     }
     else
     {
         message = "U hebt niet de rechten om deze vraag aan te passen";
         return false;
     }
 }