//member methods public void CreateSweepstakes() { Console.WriteLine("What would you like to name the Sweepstakes?"); string sweepstakesName = Console.ReadLine(); Sweepstakes sweepstakes = new Sweepstakes(sweepstakesName); _manager.InsertSweepstakes(sweepstakes); }
public void CreateSweepStake() { Sweepstakes sweepstakes = new Sweepstakes(UserInterface.GetUserInputFor("Please enter the name of your sweepstakes!")); _manager.InsertSweepstakes(sweepstakes); }