public ActionResult <IEnumerable <TimerLayoutValue> > DisplayModes()
        {
            List <TimerLayoutValue> displayModes = new List <TimerLayoutValue>();

            for (Timer.TimerDisplayMode mode = 0; mode < Timer.TimerDisplayMode.MAX; mode++)
            {
                displayModes.Add(new TimerLayoutValue(mode.ToString(), mode));
            }

            return(displayModes);
        }
 public record TimerLayoutValue(string Display, Timer.TimerDisplayMode Value);