diff --git a/ContosoPizza/ContosoPizza.db b/ContosoPizza/ContosoPizza.db index a1f9119..f732bd0 100644 Binary files a/ContosoPizza/ContosoPizza.db and b/ContosoPizza/ContosoPizza.db differ diff --git a/ContosoPizza/Pages/Index.cshtml b/ContosoPizza/Pages/Index.cshtml index b5f0c15..2094927 100644 --- a/ContosoPizza/Pages/Index.cshtml +++ b/ContosoPizza/Pages/Index.cshtml @@ -1,10 +1,13 @@ @page @model IndexModel @{ - ViewData["Title"] = "Home page"; + ViewData["Title"] = "The Home for Pizza Lovers"; + TimeSpan timeInBusiness = DateTime.Now - new DateTime(2018, 8, 14); }
Learn about building Web apps with ASP.NET Core.
++ The best pizza in town for @Convert.ToInt32(timeInBusiness.TotalDays) days! +
| Name | +Price | +Size | +Gluten Free | +Delete | +
|---|---|---|---|---|
| @pizza.Name | +@($"{pizza.Price:C}") | +@pizza.Size | +@(pizza.IsGlutenFree ? "✔️" : string.Empty) | ++ + | +
| Name | +Price | +Size | +Gluten Free | +Delete | +
|---|---|---|---|---|
| @pizza.Name | +@($"{pizza.Price:C}") | +@pizza.Size | +@(pizza.IsGlutenFree ? "✔️" : string.Empty) | ++ + | +