static int Session() { Console.WriteLine("Signed in as " + CurrentUser.FullName); switch (CurrentUser.Username) { case "admin": EmployeeSession PBAssociate = new EmployeeSession(); PBAssociate.CurrentUser = CurrentUser; if (PBAssociate.Session() == 1) { alive = 0; exit_proc = false; return(1); } alive = PBAssociate.CurrentUser.SessionLive; exit_proc = PBAssociate.Exits; break; default: CustomerSession PBCustomer = new CustomerSession(sale); PBCustomer.CurrentUser = CurrentUser; if (priority) { PBCustomer.Order(); Console.Write("[PRESS ENTER TO CONTINUE]"); Console.Write("\r"); Console.ReadLine(); PBCustomer.Exit(); } else { PBCustomer.Session(); } alive = PBCustomer.CurrentUser.SessionLive; exit_proc = PBCustomer.Exits; break; } return(0); }