public void CreateMeeting() //this method takes in the meeting information when the create meeting menu option is selected { List <string> teams = new List <string>() { "Hunters", "Helpers", "Angels", "Demons", "All Teams" }; Console.Clear(); Console.WriteLine("Minutes Recorder: "); recorder = Console.ReadLine(); Console.WriteLine("Meeting Leader: "); leader = Console.ReadLine(); Console.WriteLine("Meeting date EX: \"MMDDYY\""); date = Console.ReadLine(); string typeChoice = PrintMeetingOptions(); MeetingTopicAndNotes meToNo = new MeetingTopicAndNotes(); //handles the meeting input and saves the meeting topic/notes to a list meToNo.EnterMeetingTopicNotes(); this.Meeting = meToNo.Meeting; //makes the list used in this class equal to the list returned from the MeetingTopicAndNotes class MinutesWriter writer = new MinutesWriter(recorder, leader, date, typeChoice, meToNo.Meeting); //writes the information to the file writer.WriteToFile(); Console.Clear(); PrintSummary(); //calls the method to print the meeting summary }
//this method takes in the meeting information when the create meeting menu option is selected public void CreateMeeting() { List<string> teams = new List<string>() { "Hunters", "Helpers", "Angels", "Demons", "All Teams" }; Console.Clear(); Console.WriteLine("Minutes Recorder: "); recorder = Console.ReadLine(); Console.WriteLine("Meeting Leader: "); leader = Console.ReadLine(); Console.WriteLine("Meeting date EX: \"MMDDYY\""); date = Console.ReadLine(); string typeChoice = PrintMeetingOptions(); MeetingTopicAndNotes meToNo = new MeetingTopicAndNotes(); //handles the meeting input and saves the meeting topic/notes to a list meToNo.EnterMeetingTopicNotes(); this.Meeting = meToNo.Meeting; //makes the list used in this class equal to the list returned from the MeetingTopicAndNotes class MinutesWriter writer = new MinutesWriter(recorder, leader, date, typeChoice, meToNo.Meeting); //writes the information to the file writer.WriteToFile(); Console.Clear(); PrintSummary(); //calls the method to print the meeting summary }