public void Enter() { Console.WriteLine("----Login-------"); Console.Write("Firstname:\t"); Firstname = Console.ReadLine(); Console.Write("Code:\t"); Code = int.Parse(Console.ReadLine()); Console.WriteLine("----------------"); if (check.CustomerCheck(Firstname, Code)) { Menu(); } else { FailLogin(); } }