static void Insert() { Control ctrl = new Control(); Console.Write("\n1) Company \n2) Client \n3) Project \n4) Employee \n5) Roles \n6) EP \n"); int m = int.Parse(Console.ReadLine()); switch (m) { case 1: ctrl.AddCompanies(); break; case 2: ctrl.AddClient(); break; case 3: ctrl.AddProject(); break; case 4: ctrl.AddEmployee(); break; case 5: ctrl.AddRole(); break; case 6: ctrl.AddEP(); break; } }