/// <summary>
 /// Edits a meeting
 /// </summary>
 /// <param name="meeting">The details of the meeting</param>
 /// <param name="meetingIndex">The index of the meeting, as loaded in the list</param>
 /// <param name="message">The message of the error</param>
 /// <returns>Success</returns>
 public bool Edit(Meetingdetails meeting, int meetingIndex, out string message)
 {
     //Check for rights
     if (meeting.RequestedID != MainUser.ID)
     {
         //Edit meeting
         Meeting m = new Meeting(LoadedMeetings[meetingIndex].PostID, meeting.RequestedID, meeting.RequesterID, meeting.StartDate, meeting.EndDate, meeting.Location);
         m.Update();
         message = "Meeting aangepast";
         return true;
     }
     else
     {
         message = "U kunt geen meeting aanmaken met uzelf";
         return false;
     }
 }
 /// <summary>
 /// Creates a meeting
 /// </summary>
 /// <param name="meeting">The details of the meeting</param>
 /// <param name="message">The message of the error</param>
 /// <returns>Success</returns>
 public bool Create(Meetingdetails meeting, out string message)
 {
     //Check user
     if (meeting.RequestedID != MainUser.ID)
     {
         //Create meeting
         Meeting m = new Meeting(0, meeting.RequestedID, meeting.RequesterID, meeting.StartDate, meeting.EndDate, meeting.Location);
         m.Create();
         message = "Meeting aangemaakt!";
         return true;
     }
     else
     {
         message = "U kunt geen meeting aanmaken met uzelf";
         return false;
     }
 }