void DoSendResultList(object sender, System.Timers.ElapsedEventArgs e)
        {
            string output = null;

            Application.Current.Dispatcher.Invoke(() =>
            {
                output = JsonConversion.ConvertRaceResults(_dm.GetCurrentRace().GetResultViewProvider().GetView(), (uint)_dm.GetCurrentRace().GetMaxRun());
            });

            OnNewDataToSend(this, new NewDataEventArgs {
                Data = output
            });
        }
        string getResultList(Race race, string grouping)
        {
            string output = "";

            Application.Current.Dispatcher.Invoke(() =>
            {
                ViewConfigurator viewConfigurator = new ViewConfigurator(race);
                RaceResultViewProvider vp         = viewConfigurator.GetRaceResultViewProvider(race);
                if (grouping != null)
                {
                    vp.ChangeGrouping(grouping);
                }

                output = JsonConversion.ConvertRaceResults(vp.GetView(), (uint)race.GetMaxRun());
            });

            return(output);
        }