private List<vmRegistration_WaveItem> GetWaveItems(int startingWaveNumber, List<EventWaveDetails> waveOverviewList)
        {
            var waveItemList = new List<vmRegistration_WaveItem>();
            int waveNumber = startingWaveNumber;

            foreach (var wave in waveOverviewList)
            {
                var newWave = new vmRegistration_WaveItem
                    {
                        EventWaveId = wave.EventWaveId,
                        WaveNumber = waveNumber++,
                        StartTime = wave.StartTime,
                        isFull = wave.SpotsLeft <= 0
                    };

                if (wave.SpotsLeft <= 0)
                {
                    newWave.WaveNotification = "SOLD OUT!";
                    newWave.cssClassName = "full_wave";
                }
                else if (wave.SpotsLeft < DirtyGirlConfig.Settings.DisplaySpotsAvailableCount)
                {
                    newWave.WaveNotification = string.Format("{0} spots left", wave.SpotsLeft);
                    newWave.cssClassName = "half_wave";
                }
                else
                {
                    newWave.WaveNotification = "spots open";
                    newWave.cssClassName = "empty_wave";
                }

                waveItemList.Add(newWave);
            }

            return waveItemList;
        }
        private vmRegistration_WaveItem GetWaveItem(EventWaveDetails wave)
        {
            var newWave = new vmRegistration_WaveItem
            {
                EventWaveId = wave.EventWaveId,
                StartTime = wave.StartTime,
                isFull = wave.SpotsLeft <= 0
            };

            if (wave.SpotsLeft <= 0)
            {
                newWave.WaveNotification = "SOLD OUT!";
                newWave.cssClassName = "full_wave";
            }
            else if (wave.SpotsLeft < DirtyGirlConfig.Settings.DisplaySpotsAvailableCount)
            {
                newWave.WaveNotification = string.Format("{0} spots left", wave.SpotsLeft);
                newWave.cssClassName = "half_wave";
            }
            else
            {
                newWave.WaveNotification = "spots open";
                newWave.cssClassName = "empty_wave";
            }

               return newWave;
        }