private void SearchStandardName() { Console.WriteLine("--- Search for Standard by name ---"); Console.WriteLine("Enter Standard Name to search: "); name = Console.ReadLine(); newStd = bl.GetStandardByName(name); if (newStd == null) { Console.WriteLine("Standard not found!"); return; } else { Console.WriteLine("Standard found: {0}, {1}", newStd.StandardId, newStd.StandardName); } Continue(); }