public IActionResult DeleteSportCentre(string etName, string etAddress) { SportCentre sportCentre = database.FindSportCentre(etName, etAddress); database.SportCentre.Remove(sportCentre); database.SaveChanges(); return(View("AdminSportsCentresForm", LoginController.currentyLoggedAdministrator)); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(37, 27, true); WriteLiteral("<!DOCTYPE html>\r\n<html>\r\n\r\n"); EndContext(); BeginContext(64, 811, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8210221", async() => { BeginContext(70, 159, true); WriteLiteral("\r\n <meta charset=\"utf-8\">\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, shrink-to-fit=no\">\r\n <title>admin home</title>\r\n "); EndContext(); BeginContext(229, 64, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8210773", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(293, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(299, 59, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8212107", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(358, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(364, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8213441", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(422, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(428, 65, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8214775", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(493, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(499, 63, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8216109", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(562, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(568, 50, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8217443", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(618, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(624, 63, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8218777", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(687, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(693, 63, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8220111", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(756, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(762, 47, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8221445", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(809, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(815, 51, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8222779", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(866, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(875, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(879, 5041, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8224915", async() => { BeginContext(885, 318, true); WriteLiteral(@" <div></div> <nav class=""navbar navbar-light navbar-expand-md navigation-clean-search""> <div class=""container""> <button data-toggle=""collapse"" class=""navbar-toggler"" data-target=""#navcol-1""><span class=""sr-only"">Toggle navigation</span><span class=""navbar-toggler-icon""></span></button>"); EndContext(); BeginContext(1203, 43, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8225629", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1246, 403, true); WriteLiteral(@" <div class=""collapse navbar-collapse"" id=""navcol-1"" style=""border-radius: 20px;""> <ul class=""nav navbar-nav""> <li class=""nav-item"" role=""presentation""></li> <li class=""nav-item"" role=""presentation""></li> <li class=""nav-item"" role=""presentation""></li> </ul> "); EndContext(); BeginContext(1650, 129, false); #line 33 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(Html.ActionLink("Home", "Index", "Admin", null, new { @class = "text-secondary", d = "linkHome", style = "margin-right: 20px;" })); #line default #line hidden EndContext(); BeginContext(1779, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1798, 159, false); #line 34 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(Html.ActionLink("Sports centres", "TabSportsCentres", "Admin", null, new { @class = "text-secondary", d = "linkSportsCentres", style = "margin-right: 20px;" })); #line default #line hidden EndContext(); BeginContext(1957, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1976, 146, false); #line 35 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(Html.ActionLink("Users", "TabUsers", "Admin", null, new { @class = "text-secondary", d = "linkCustomReservation", style = "margin-right: 20px;" })); #line default #line hidden EndContext(); BeginContext(2122, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2141, 175, false); #line 36 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(Html.ActionLink("Transactions history", "TabTransactionsHistory", "Admin", null, new { @class = "text-secondary", d = "linkCustomReservation", style = "margin-right: 20px;" })); #line default #line hidden EndContext(); BeginContext(2316, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2334, 160, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8229378", async() => { BeginContext(2383, 104, true); WriteLiteral("\r\n <div class=\"form-group\"><label for=\"search-field\"></label></div>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2494, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2513, 204, false); #line 40 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(Html.ActionLink("Sign out", "AdminSignOut_OnClick", "Admin", null, new { @class = "btn btn-light action-button", style = "margin-right: 10px;border-radius: 20px;border-color: #7BDC97;", type = "button" })); #line default #line hidden EndContext(); BeginContext(2717, 192, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </nav>\r\n <div class=\"map-clean\">\r\n <div class=\"container\">\r\n <div class=\"intro\">\r\n <p class=\"text-center\">Welcome "); EndContext(); BeginContext(2910, 14, false); #line 47 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(Model.Username); #line default #line hidden EndContext(); BeginContext(2924, 436, true); WriteLiteral(@"! These are all of today's reservations.</p> </div> </div> </div> <div></div> <div class=""container""> <div class=""row""> <div class=""col-md-12""> <div class=""form-group""> <div class=""input-group""> <span class=""input-group-addon""> <i class=""fa fa-search"" style=""position: relative;top: 15px;right: 5px;""></i></span> "); EndContext(); #line 58 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" using (Html.BeginForm("Search", "Admin")) { #line default #line hidden BeginContext(3430, 28, true); WriteLiteral(" "); EndContext(); BeginContext(3458, 177, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8233111", async() => { BeginContext(3478, 150, true); WriteLiteral("\r\n <input class=\"form-control\" type=\"text\" placeholder=\"Sport Centre...\" name=\"etSearch\">\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3635, 2, true); WriteLiteral("\r\n"); EndContext(); #line 62 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" } #line default #line hidden BeginContext(3664, 75, true); WriteLiteral(" </div>\r\n </div>\r\n <div>\r\n"); EndContext(); #line 66 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" List <Reservation> reservations = DatabaseContext.getInstance().AllReservations(eTermin.Controllers.AdminController.filter); #line default #line hidden BeginContext(3912, 221, true); WriteLiteral(" <ul class=\"nav nav-tabs\">\r\n <li class=\"nav-item\"><a class=\"nav-link active\" role=\"tab\" data-toggle=\"tab\" href=\"#tab-1\">Today <span class=\"badge badge-pill badge-primary\">"); EndContext(); BeginContext(4134, 18, false); #line 69 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(reservations.Count); #line default #line hidden EndContext(); BeginContext(4152, 456, true); WriteLiteral(@"</span></a></li> </ul> <div class=""tab-content""> <div class=""tab-pane active"" role=""tabpanel"" id=""tab-1""> <div class=""thread-list-head""> <nav class=""thread-pages""> </nav> </div> <ul class=""thread-list""> "); EndContext(); #line 78 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" for (int i = 0; i < reservations.Count; i++) { String time = reservations[i].DateTimeCreated.ToShortTimeString(); Person user = DatabaseContext.getInstance().GetPerson(reservations[i].PersonID); String timeRes = reservations[i].DateTime.ToShortTimeString(); SportCentre sportCentre = DatabaseContext.getInstance().GetSportCentre(reservations[i].HallID); #line default #line hidden BeginContext(5223, 133, true); WriteLiteral(" <li class=\"thread\">\r\n <span class=\"title\">"); EndContext(); BeginContext(5357, 4, false); #line 85 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(time); #line default #line hidden EndContext(); BeginContext(5361, 3, true); WriteLiteral(" | "); EndContext(); BeginContext(5365, 14, false); #line 85 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(user.FirstName); #line default #line hidden EndContext(); BeginContext(5379, 1, true); WriteLiteral(" "); EndContext(); BeginContext(5381, 13, false); #line 85 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(user.LastName); #line default #line hidden EndContext(); BeginContext(5394, 3, true); WriteLiteral(" - "); EndContext(); BeginContext(5398, 16, false); #line 85 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(sportCentre.Name); #line default #line hidden EndContext(); BeginContext(5414, 2, true); WriteLiteral(" ("); EndContext(); BeginContext(5417, 7, false); #line 85 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" Write(timeRes); #line default #line hidden EndContext(); BeginContext(5424, 61, true); WriteLiteral(")</span>\r\n </li>\r\n"); EndContext(); #line 87 "C:\Users\Poljcic\Desktop\Grupa4-FFA\eTermin\Views\Admin\Index.cshtml" } #line default #line hidden BeginContext(5567, 107, true); WriteLiteral(" </ul>\r\n </div>\r\n </div>\r\n"); EndContext(); BeginContext(5697, 111, true); WriteLiteral(" </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"map-clean\"></div>\r\n "); EndContext(); BeginContext(5808, 42, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8240733", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5850, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(5856, 55, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9518a242a8c9948b8dd14b58fc8b63d5d300dc8241990", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_17); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5911, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5920, 11, true); WriteLiteral("\r\n\r\n</html>"); EndContext(); }