src/fursvp.api/Controllers/TimeZonesController.cs
/// <summary>
/// Gets a list of all Time Zones by their unique Id and DisplayName.
/// </summary>
/// <returns>An <see cref="IActionResult"/> for the web response.</returns>
Gets a list of all Time Zones by their unique Id and DisplayName.
Gets a list of all Time Zones by their unique Id and DisplayName .
[HttpGet]
        public IActionResult GetTimeZones()
        {
            var results = TimeZoneInfo.GetSystemTimeZones().Select(x => new
            {
                x.Id,
                x.DisplayName,
            });
            return new JsonResult(results);
        }
[ HttpGet ] public IActionResult GetTimeZones ( ) { var results = TimeZoneInfo . GetSystemTimeZones ( ) . Select ( x => new { x . Id , x . DisplayName , } ) ; return new JsonResult ( results ) ; }
Gets a list of all Time Zones by their unique Id and DisplayName.
Gets a list of all Time Zones by their unique Id and DisplayName .
An  for the web response.
An for the web response .