//just for imitating lab1 public void SimpleRemoveMovie() { string loneDeletePrompt = "Remove the only remaining movie?(Y/N)"; if (movies.Count == 0) { Console.WriteLine("No Movies in list"); return; } if (InputChecker.PromptYesNo(loneDeletePrompt)) { Console.WriteLine(movies[0].GetTitle() + " deleted"); movies.RemoveAt(0); } else { Console.WriteLine("Canceled"); } }
void SetOwnership() { string prompt = "Do you own the Movie? (Y/N)"; ownership = InputChecker.PromptYesNo(prompt); }
void SetLength() { string userPrompt = "Enter optional length in mins:"; length = InputChecker.PromptFromRange(userPrompt, 0, Int32.MaxValue, 0); }