public ScoresController() { try { repository = new GolfScoreRepository(); golfScores = repository.ReadScores(); } catch(Exception e) { Console.Out.WriteLine("Controller=ScoresController,Method=ctor,Exception={0}", e.Message); } }
public HoleScoresController() { repository = new GolfScoreRepository(); }