@using Packt.Shared @model HomeIndexViewModel @{ ViewData["Title"] = "Home Page"; string currentItem = ""; WeatherForecast[]? weather = ViewData["weather"] as WeatherForecast[]; }
@DateTime.Now.ToLongTimeString()
No weather forecasts found.
} else {| @w.Date.ToString("ddd d MMM") will be @w.Summary | }
We have had @Model?.VisitorCount visitors this month.