public MainMenu(IPlayerDAO playerDAO, IGolfRoundDAO golfRoundDAO, ITeeDAO teeDAO) { this.playerDAO = playerDAO; this.golfRoundDAO = golfRoundDAO; this.teeDAO = teeDAO; AddOption("Login", Login) .AddOption("CreatePlayer", CreatePlayer) .AddOption("Exit", Exit); }
public PlayerMenu(Player player, IPlayerDAO playerDAO, ITeeDAO teeDAO, IGolfRoundDAO golfRoundDAO) { this.player = player; this.playerDAO = playerDAO; this.teeDAO = teeDAO; this.golfRoundDAO = golfRoundDAO; AddOption("Log Round", LogRound) .AddOption("View Round History", ViewRoundHistory) .AddOption("Exit", Exit); }
public TeesController(ITeeDAO teeDAO) { this.teeDAO = teeDAO; }