public ResponseDataEntity Get() { var rng = new Random(); var data = Enumerable.Range(1, 2).Select(index => new WeatherForecast { Date = DateTime.Now.AddDays(index), TemperatureC = rng.Next(-20, 55), Summary = Summaries[rng.Next(Summaries.Length)], Timestamp = (int)DateUtil.ConvertToUnixTimestamp(DateTime.Now.AddDays(index)) }) .ToList(); return(ResponseUtil.Success("", data)); }