예제 #1
0
        private void WorkOnColleciton()
        {
            SweepStakes working = sweepstakescolleciton.GetSweepStakes();

            UserInterface.DisplayOnly("you are now working on " + working.name);
            UserInterface.DisplayInline("what would you like to do?");
            UserInterface.DisplayInline("1.Continue to add contestants.");
            string input = UserInterface.GetInputInline("Choose your selection, invalid input returns to previous menu.");

            if (input.Trim() == "1")
            {
                working.ContinueAddContestants();
            }
            sweepstakescolleciton.insertSweepstakes(working);
        }
예제 #2
0
 public Sweepstakes GetSweepstakes()
 {
     return(manager.GetSweepStakes());
 }