static void Main(string[] args) { using (var bd = new HitssContext()) { Console.Write("1) Insert \n2) Show:"); int m = int.Parse(Console.ReadLine()); switch (m) { case 1: Insert(); break; case 2: Show(); break; } } }