public void PrintContestantInfo(Contestant contestant) { UserInterface.DisplayWinner(contestant); }
public void RegisterContestant(Contestant contestant) { contestant.registrationNumber = sweepstakesContestants.Count + 1; // the registration number is related to the count, sweepstakesContestants.Add(contestant.registrationNumber, contestant); }
public string PickWinner(Contestant contestant) { return(contestant.firstName + " " + contestant.lastName); }
public void CreateContestant(Sweepstakes sweepstakes, Contestant contestant) { sweepstakes.RegisterContestant(contestant); }
public void RegisterContestant(Contestant contestant) { UserInterface.AssignContestantInformation(contestant, this); contestants.Add(contestant.registrationNumber, contestant); }