static void Main(string[] args) { Singleton.Instance.OpenSession();//открываем сессию CreateBeginItem(); int key; bool tmp = true; while (tmp) { PrintCMD.MenuUP(); key = PrintCMD.ReadKey(); switch (key) { case 1: Controll.Genre(); break; case 2: Controll.Actor(); break; case 3: Controll.Film(); break; case 0: tmp = false; break; } } }