Esempio n. 1
0
        static void Main(string[] args)
        {
            KeyValuePair <Student[], Subject[]> data = Init();

            GradeBook gBook = new GradeBook(data.Key, data.Value);

            GradeBookService gradeBookService = new GradeBookService(gBook);

            ConsoleMenu menu = new ConsoleMenu(gradeBookService);

            menu.ShowMenu();
        }
 public ConsoleMenu(GradeBookService bookService)
 {
     this.bookService = bookService;
 }