예제 #1
0
        public void ViewFinishedRaces(IMainController _mainController, IShowFinishedRacesView inForm)
        {
            RaceRepository _raceRepository = RaceRepository.GetInstance();

            List <Race> finRaces = _raceRepository.GetAllFinishedRaces();

            inForm.ShowModaless(_mainController, finRaces);
        }
        public void UpdateView()
        {
            _finRaces = _raceRepository.GetAllFinishedRaces().OrderBy(x => x.Date).ToList();

            UpdateList();
        }