diff --git a/ZPDuszynska/Controllers/HomeController.cs b/ZPDuszynska/Controllers/HomeController.cs index ff1c346..f6ee246 100644 --- a/ZPDuszynska/Controllers/HomeController.cs +++ b/ZPDuszynska/Controllers/HomeController.cs @@ -29,7 +29,7 @@ namespace ZPDuszynska.Controllers Nekrolog1Model model = new Nekrolog1Model(); model.Line1_1 = "Z głębokim żalem zawiadamiamy, że dnia "; model.Line1_2 = "1 stycznia "; - model.Line1_3 = "2025 roku"; + model.Line1_3 = DateTime.Now.Year+" roku"; model.Line2_1 = "odszedł od nas na zawsze w wieku "; model.Line2_2 = "66 "; @@ -52,7 +52,7 @@ namespace ZPDuszynska.Controllers model.Line8_1 = "dnia "; model.Line8_2 = "8 marca "; - model.Line8_3 = "2025r. ("; + model.Line8_3 = DateTime.Now.Year+"r. ("; model.Line8_4 = "sobota"; model.Line8_5 = ") o godz. "; model.Line8_6 = "14.00"; @@ -78,7 +78,7 @@ namespace ZPDuszynska.Controllers model.Line3_1 = "żył lat "; model.Line3_2 = "99 "; - model.Line3_3 = "zm. 01 I 2025"; + model.Line3_3 = "zm. 01 I "+DateTime.Now.Year; model.Line4_1 = "Prosi o modlitwę"; diff --git a/ZPDuszynska/Views/Home/Index.cshtml b/ZPDuszynska/Views/Home/Index.cshtml index c3cdeda..a30be16 100644 --- a/ZPDuszynska/Views/Home/Index.cshtml +++ b/ZPDuszynska/Views/Home/Index.cshtml @@ -2,7 +2,6 @@ ViewData["Title"] = "Home Page"; } -
Learn about building Web apps with ASP.NET Core.
- *@