From 62ee346201d80c86795d813a4981bb504f85038b Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Thu, 12 May 2022 18:39:29 +0300 Subject: [PATCH] feat: add ticket order form validation --- TicketOffice/Pages/Routes/Index.cshtml | 12 ++- TicketOffice/Pages/Routes/Index.cshtml.cs | 44 +++++++-- TicketOffice/wwwroot/css/Routes.css | 106 ---------------------- 3 files changed, 48 insertions(+), 114 deletions(-) diff --git a/TicketOffice/Pages/Routes/Index.cshtml b/TicketOffice/Pages/Routes/Index.cshtml index ec6f3ac..ab95407 100644 --- a/TicketOffice/Pages/Routes/Index.cshtml +++ b/TicketOffice/Pages/Routes/Index.cshtml @@ -1,5 +1,6 @@ @page @using System.Globalization +@using TicketOffice.Models @model TicketOffice.Pages.Routes.IndexModel @{ Layout = "~/Pages/Shared/_Layout.cshtml"; @@ -10,6 +11,7 @@ +
@@ -279,7 +281,9 @@ { foreach (var route in Model.Routes) { -