예제 #1
0
        private void btnStopTimer_Click(object sender, RoutedEventArgs e)
        {
            // ttbTimer.IsStarted = false;
            _race.FinishDateTime = DateTime.Now;
            _rfidManager.Stop();
            _timer.Stop();

            _raceRepository.Edit(_race, _race.Id);
            _raceRepository.Save();

            btnStopTimer.IsEnabled = false;
        }
예제 #2
0
 public void Update(Race race)
 {
     raceRepository.Edit(race);
 }