Ejemplo n.º 1
0
 public CompetitionViewModel(IMatchTrackerRepo matchTrackerRepo, IWindowManager windowManager)
 {
     _matchTrackerRepo = matchTrackerRepo;
     _windowManager    = windowManager;
     Competitions      = CompetitionHelper.CurrentCompetitons(_matchTrackerRepo.GetCompetitions());
 }
Ejemplo n.º 2
0
 public MatchViewModel(IMatchTrackerRepo matchTrackerRepo, IWindowManager windowManager, CompetitionModel selectedCompetition)
 {
     _matchTrackerRepo = matchTrackerRepo;
     _windowManager    = windowManager;
     Matches           = CompetitionHelper.MatchConvertor(_matchTrackerRepo.GetMatchesForCompetition(selectedCompetition.Code));
 }