static void Main(string[] args) { Console.WriteLine("Enter Latitude:"); var keyword = Console.ReadLine(); var searcher = new LocationSearcher(); Console.ReadLine(); }
static void Main(string[] args) { Console.WriteLine("Enter Name:"); var name = Console.ReadLine(); var vendorRepo = new VendorRepository(); var searcher = new LocationSearcher(vendorRepo); var vendor = searcher.LocateVendor(name); Console.ReadLine(); }
static void Main(string[] args) { Console.WriteLine("Enter Name: "); var name = Console.ReadLine(); var searcher = new LocationSearcher(); var vendor = searcher.LocateVendor(name); Console.ReadLine(); //while (true) //{ // Console.BackgroundColor = ConsoleColor.DarkBlue; // Console.WriteLine("You must enter the password to continue."); // Console.Write("Password: "******"pizza") // { // break; // } // else if (password == "quit") // { // Environment.Exit(1); // } // else // { // Console.BackgroundColor = ConsoleColor.DarkRed; // Console.WriteLine("Incorrect"); // } //} //Console.WriteLine("Correct!"); //Console.WriteLine("press any key to continue..."); //Console.ReadKey(); }