#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" ViewData["Title"] = "ViewStudents"; #line default #line hidden BeginContext(116, 53, true); WriteLiteral("<div class=\"scratches\">\r\n <h1>View Students</h1>\r\n"); EndContext(); #line 8 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" if (Model.InstrViewVM.Students.Count > 0) { #line default #line hidden BeginContext(224, 4, true); WriteLiteral(" "); EndContext(); BeginContext(228, 1536, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a9926c995c144745ee331325069e6038b78c5ad9854", async() => { BeginContext(248, 115, true); WriteLiteral("\r\n <table class=\"table table-striped\">\r\n <tr class=\"table table-secondary\">\r\n <th>"); EndContext(); BeginContext(364, 58, false); #line 13 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayNameFor(s => Model.InstrViewVM.Students[0].Id)); #line default #line hidden EndContext(); BeginContext(422, 27, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(450, 65, false); #line 14 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayNameFor(s => Model.InstrViewVM.Students[0].Class.CRN)); #line default #line hidden EndContext(); BeginContext(515, 27, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(543, 78, false); #line 15 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayNameFor(s => Model.InstrViewVM.Students[0].Class.Course.CourseNum)); #line default #line hidden EndContext(); BeginContext(621, 27, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(649, 80, false); #line 16 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayNameFor(s => Model.InstrViewVM.Students[0].Class.Course.CourseTitle)); #line default #line hidden EndContext(); BeginContext(729, 27, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(757, 73, false); #line 17 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayNameFor(s => Model.InstrViewVM.Students[0].Student.FirstName)); #line default #line hidden EndContext(); BeginContext(830, 27, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(858, 72, false); #line 18 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayNameFor(s => Model.InstrViewVM.Students[0].Student.LastName)); #line default #line hidden EndContext(); BeginContext(930, 55, true); WriteLiteral("</th>\r\n <th></th>\r\n </tr>\r\n\r\n"); EndContext(); #line 22 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" foreach (var stud in Model.InstrViewVM.Students) { #line default #line hidden BeginContext(1063, 46, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(1110, 29, false); #line 25 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayFor(s => stud.Id)); #line default #line hidden EndContext(); BeginContext(1139, 31, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1171, 36, false); #line 26 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayFor(s => stud.Class.CRN)); #line default #line hidden EndContext(); BeginContext(1207, 31, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1239, 49, false); #line 27 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayFor(s => stud.Class.Course.CourseNum)); #line default #line hidden EndContext(); BeginContext(1288, 31, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1320, 51, false); #line 28 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayFor(s => stud.Class.Course.CourseTitle)); #line default #line hidden EndContext(); BeginContext(1371, 31, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1403, 44, false); #line 29 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayFor(s => stud.Student.FirstName)); #line default #line hidden EndContext(); BeginContext(1447, 31, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1479, 43, false); #line 30 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayFor(s => stud.Student.LastName)); #line default #line hidden EndContext(); BeginContext(1522, 31, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1553, 137, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a9926c995c144745ee331325069e6038b78c5ad16197", async() => { BeginContext(1675, 6, true); WriteLiteral("Delete"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.PageHandler = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-studentClassId", "Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 31 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" WriteLiteral(stud.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["studentClassId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-studentClassId", __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["studentClassId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1690, 30, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 33 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" } #line default #line hidden BeginContext(1735, 22, true); WriteLiteral(" </table>\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_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1764, 2, true); WriteLiteral("\r\n"); EndContext(); #line 36 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" } #line default #line hidden BeginContext(1773, 24, true); WriteLiteral("</div>\r\n<br />\r\n<br />\r\n"); EndContext(); BeginContext(1797, 2362, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a9926c995c144745ee331325069e6038b78c5ad20898", async() => { BeginContext(1816, 402, true); WriteLiteral(@" <div class=""scratches""> <h3>Add a Student</h3> <div class=""border""> <div style=""height: 60px;"" class=""container border border-secondary""> <div class=""row""> <div class=""col-11""> <div class=""row"" style=""padding-top:10px""> <div class=""col-4""> "); EndContext(); BeginContext(2219, 390, false); #line 49 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.Editor("searchLastName", new { htmlAttributes = new { @class = "form-control", placeholder = "Last Name..." } } )); #line default #line hidden EndContext(); BeginContext(2609, 119, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-4\">\r\n "); EndContext(); BeginContext(2729, 381, false); #line 60 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.Editor("searchYear", new { htmlAttributes = new { @class = "form-control", placeholder = "Year..." } } )); #line default #line hidden EndContext(); BeginContext(3110, 119, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-4\">\r\n "); EndContext(); BeginContext(3230, 383, false); #line 71 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.Editor("searchHouse", new { htmlAttributes = new { @class = "form-control", placeholder = "House..." } } )); #line default #line hidden EndContext(); BeginContext(3613, 256, true); WriteLiteral(@" </div> </div> </div> <div class=""col-1""> <div class=""row"" style=""padding-top:10px; padding-right:15px;""> "); EndContext(); BeginContext(3869, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a9926c995c144745ee331325069e6038b78c5ad24504", async() => { BeginContext(3980, 29, true); WriteLiteral("<i class=\"fas fa-search\"></i>"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.PageHandler = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4018, 134, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </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); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4159, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(4163, 1554, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a9926c995c144745ee331325069e6038b78c5ad27782", async() => { BeginContext(4183, 132, true); WriteLiteral("\r\n <div class=\"scratches\">\r\n <table class=\"table table-striped\">\r\n <tr class=\"table table-secondary\">\r\n <th>"); EndContext(); BeginContext(4316, 70, false); #line 98 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayNameFor(s => Model.InstrViewVM.otherStudents[0].FirstName)); #line default #line hidden EndContext(); BeginContext(4386, 23, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(4410, 69, false); #line 99 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayNameFor(s => Model.InstrViewVM.otherStudents[0].LastName)); #line default #line hidden EndContext(); BeginContext(4479, 23, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(4503, 65, false); #line 100 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayNameFor(s => Model.InstrViewVM.otherStudents[0].Year)); #line default #line hidden EndContext(); BeginContext(4568, 23, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(4592, 66, false); #line 101 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayNameFor(s => Model.InstrViewVM.otherStudents[0].House)); #line default #line hidden EndContext(); BeginContext(4658, 73, true); WriteLiteral("</th>\r\n <th><!-- Empty for formatting--></th>\r\n </tr>\r\n"); EndContext(); #line 104 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" foreach (var stud in Model.InstrViewVM.otherStudents) { #line default #line hidden BeginContext(4806, 38, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(4845, 36, false); #line 107 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayFor(s => stud.FirstName)); #line default #line hidden EndContext(); BeginContext(4881, 27, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(4909, 35, false); #line 108 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayFor(s => stud.LastName)); #line default #line hidden EndContext(); BeginContext(4944, 27, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(4972, 31, false); #line 109 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayFor(s => stud.Year)); #line default #line hidden EndContext(); BeginContext(5003, 27, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(5031, 32, false); #line 110 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" Write(Html.DisplayFor(s => stud.House)); #line default #line hidden EndContext(); BeginContext(5063, 27, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(5090, 229, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a9926c995c144745ee331325069e6038b78c5ad32254", async() => { BeginContext(5255, 55, true); WriteLiteral("\r\n <i class=\"fa fa-plus\"></i> Enroll"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.PageHandler = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-studentId", "Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 112 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" WriteLiteral(stud.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["studentId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-studentId", __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["studentId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5319, 26, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 115 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" } #line default #line hidden BeginContext(5356, 79, true); WriteLiteral(" <tr>\r\n <td colspan=\"5\" class=\"text-right\">\r\n "); EndContext(); BeginContext(5435, 213, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a9926c995c144745ee331325069e6038b78c5ad35446", async() => { } ); __HogwartsRegistry_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::HogwartsRegistry.TagHelpers.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__HogwartsRegistry_TagHelpers_PageLinkTagHelper); #line 118 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Instructors\ViewStudents.cshtml" __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageModel = Model.InstrViewVM.PagingInfo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageClassSelected = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5648, 62, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n </table>\r\n </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); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5717, 2, true); WriteLiteral("\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" ViewData["Title"] = "Index"; #line default #line hidden BeginContext(99, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(105, 4779, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52b1b5f1f14e726c7ef59aec52c67af6872bc0b78592", async() => { BeginContext(124, 211, true); WriteLiteral("\r\n <br />\r\n <div class=\"row\">\r\n <div class=\"col-6\">\r\n <h2 class=\"text-info\">Students</h2>\r\n </div>\r\n <div class=\"col-6 text-right\">\r\n "); EndContext(); BeginContext(335, 64, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52b1b5f1f14e726c7ef59aec52c67af6872bc0b79204", async() => { BeginContext(384, 11, true); WriteLiteral("Add Student"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__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(399, 409, true); WriteLiteral(@" </div> </div> <br /> <br /> <div class=""border""> <div style=""height: 60px;"" class=""container border border-secondary""> <div class=""row""> <div class=""col-11""> <div class=""row"" style=""padding-top:10px""> <div class=""col-4""> "); EndContext(); BeginContext(809, 390, false); #line 25 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.Editor("searchLastName", new { htmlAttributes = new { @class = "form-control", placeholder = "Last Name..." } } )); #line default #line hidden EndContext(); BeginContext(1199, 119, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-4\">\r\n "); EndContext(); BeginContext(1319, 381, false); #line 36 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.Editor("searchYear", new { htmlAttributes = new { @class = "form-control", placeholder = "Year..." } } )); #line default #line hidden EndContext(); BeginContext(1700, 119, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-4\">\r\n "); EndContext(); BeginContext(1820, 383, false); #line 47 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.Editor("searchHouse", new { htmlAttributes = new { @class = "form-control", placeholder = "House..." } } )); #line default #line hidden EndContext(); BeginContext(2203, 501, true); WriteLiteral(@" </div> </div> </div> <div class=""col-1""> <div class=""row"" style=""padding-top:10px; padding-right:15px;""> <button type=""submit"" name=""submit"" class=""btn btn-info form-control"" value=""Search""><i class=""fas fa-search""></i></button> </div> </div> </div> </div> </div> "); EndContext(); #line 67 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" if (Model.StudentListViewModel.StudentList.Count() > 0) { #line default #line hidden BeginContext(2781, 119, true); WriteLiteral(" <table class=\"table table-striped\">\r\n <tr class=\"table-secondary\">\r\n <th>"); EndContext(); BeginContext(2901, 73, false); #line 71 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayNameFor(m => m.StudentListViewModel.StudentList[0].FirstName)); #line default #line hidden EndContext(); BeginContext(2974, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(3006, 72, false); #line 72 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayNameFor(m => m.StudentListViewModel.StudentList[0].LastName)); #line default #line hidden EndContext(); BeginContext(3078, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(3110, 70, false); #line 73 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayNameFor(m => m.StudentListViewModel.StudentList[0].Gender)); #line default #line hidden EndContext(); BeginContext(3180, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(3212, 68, false); #line 74 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayNameFor(m => m.StudentListViewModel.StudentList[0].Year)); #line default #line hidden EndContext(); BeginContext(3280, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(3312, 69, false); #line 75 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayNameFor(m => m.StudentListViewModel.StudentList[0].House)); #line default #line hidden EndContext(); BeginContext(3381, 61, true); WriteLiteral("</th>\r\n <th></th>\r\n </tr>\r\n"); EndContext(); #line 78 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" foreach (var student in Model.StudentListViewModel.StudentList) { #line default #line hidden BeginContext(3543, 54, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(3598, 39, false); #line 81 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayFor(m => student.FirstName)); #line default #line hidden EndContext(); BeginContext(3637, 35, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(3673, 38, false); #line 82 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayFor(m => student.LastName)); #line default #line hidden EndContext(); BeginContext(3711, 35, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(3747, 36, false); #line 83 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayFor(m => student.Gender)); #line default #line hidden EndContext(); BeginContext(3783, 35, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(3819, 34, false); #line 84 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayFor(m => student.Year)); #line default #line hidden EndContext(); BeginContext(3853, 35, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(3889, 35, false); #line 85 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayFor(m => student.House)); #line default #line hidden EndContext(); BeginContext(3924, 65, true); WriteLiteral("</td>\r\n <td>\r\n "); EndContext(); BeginContext(3989, 180, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52b1b5f1f14e726c7ef59aec52c67af6872bc0b719604", async() => { BeginContext(4154, 6, true); WriteLiteral("Delete"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.PageHandler = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 87 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" WriteLiteral(student.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4169, 30, true); WriteLiteral("\r\n "); EndContext(); BeginContext(4199, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52b1b5f1f14e726c7ef59aec52c67af6872bc0b722339", async() => { BeginContext(4283, 4, true); WriteLiteral("Edit"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 88 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" WriteLiteral(student.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4291, 60, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n"); EndContext(); #line 91 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" } #line default #line hidden BeginContext(4370, 103, true); WriteLiteral(" <tr>\r\n <td colspan=\"5\" class=\"text-right\">\r\n "); EndContext(); BeginContext(4473, 230, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52b1b5f1f14e726c7ef59aec52c67af6872bc0b725325", async() => { } ); __HogwartsRegistry_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::HogwartsRegistry.TagHelpers.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__HogwartsRegistry_TagHelpers_PageLinkTagHelper); #line 94 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageModel = Model.StudentListViewModel.PagingInfo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageClassSelected = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4703, 74, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n </table>\r\n"); EndContext(); #line 99 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" } else { #line default #line hidden BeginContext(4813, 49, true); WriteLiteral(" <p>No students in the registry.</p>\r\n"); EndContext(); #line 103 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" } #line default #line hidden BeginContext(4873, 4, true); WriteLiteral(" "); 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_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4884, 2, true); WriteLiteral("\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" ViewData["Title"] = "Index"; #line default #line hidden BeginContext(99, 43, true); WriteLiteral("\r\n <div class=\"scratches p-4\">\r\n "); EndContext(); BeginContext(142, 2632, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a885587e67e227618ec395a65cc8659e90759fc9284", async() => { BeginContext(161, 538, true); WriteLiteral(@" <div class=""row""> <div class=""col-6""> <h2 class=""text-info"">Students</h2> </div> </div> <div class=""border""> <div style=""height: 60px;"" class=""container border border-secondary""> <div class=""row""> <div class=""col-11""> <div class=""row"" style=""padding-top:10px""> <div class=""col-4""> "); EndContext(); BeginContext(700, 422, false); #line 20 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.Editor("searchLastName", new { htmlAttributes = new { @class = "form-control", placeholder = "Last Name..." } } )); #line default #line hidden EndContext(); BeginContext(1122, 131, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-4\">\r\n "); EndContext(); BeginContext(1254, 413, false); #line 31 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.Editor("searchYear", new { htmlAttributes = new { @class = "form-control", placeholder = "Year..." } } )); #line default #line hidden EndContext(); BeginContext(1667, 131, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-4\">\r\n "); EndContext(); BeginContext(1799, 415, false); #line 42 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.Editor("searchHouse", new { htmlAttributes = new { @class = "form-control", placeholder = "House..." } } )); #line default #line hidden EndContext(); BeginContext(2214, 553, true); WriteLiteral(@" </div> </div> </div> <div class=""col-1""> <div class=""row"" style=""padding-top:10px; padding-right:15px;""> <button type=""submit"" name=""submit"" class=""btn btn-info form-control"" value=""Search""><i class=""fas fa-search""></i></button> </div> </div> </div> </div> </div> "); 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_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2774, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2784, 2614, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a885587e67e227618ec395a65cc8659e90759fc14711", async() => { BeginContext(2804, 2, true); WriteLiteral("\r\n"); EndContext(); #line 64 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" if (Model.StudentListViewModel.StudentList.Count() > 0) { #line default #line hidden BeginContext(2891, 131, true); WriteLiteral(" <table class=\"table table-striped\">\r\n <tr class=\"table-secondary\">\r\n <th>"); EndContext(); BeginContext(3023, 73, false); #line 68 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayNameFor(m => m.StudentListViewModel.StudentList[0].FirstName)); #line default #line hidden EndContext(); BeginContext(3096, 35, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(3132, 72, false); #line 69 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayNameFor(m => m.StudentListViewModel.StudentList[0].LastName)); #line default #line hidden EndContext(); BeginContext(3204, 35, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(3240, 70, false); #line 70 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayNameFor(m => m.StudentListViewModel.StudentList[0].Gender)); #line default #line hidden EndContext(); BeginContext(3310, 35, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(3346, 68, false); #line 71 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayNameFor(m => m.StudentListViewModel.StudentList[0].Year)); #line default #line hidden EndContext(); BeginContext(3414, 35, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(3450, 69, false); #line 72 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayNameFor(m => m.StudentListViewModel.StudentList[0].House)); #line default #line hidden EndContext(); BeginContext(3519, 104, true); WriteLiteral("</th>\r\n <th></th>\r\n <th></th>\r\n </tr>\r\n"); EndContext(); #line 76 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" foreach (var student in Model.StudentListViewModel.StudentList) { #line default #line hidden BeginContext(3732, 62, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(3795, 39, false); #line 79 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayFor(m => student.FirstName)); #line default #line hidden EndContext(); BeginContext(3834, 39, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(3874, 38, false); #line 80 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayFor(m => student.LastName)); #line default #line hidden EndContext(); BeginContext(3912, 39, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(3952, 36, false); #line 81 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayFor(m => student.Gender)); #line default #line hidden EndContext(); BeginContext(3988, 39, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(4028, 34, false); #line 82 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayFor(m => student.Year)); #line default #line hidden EndContext(); BeginContext(4062, 39, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(4102, 35, false); #line 83 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" Write(Html.DisplayFor(m => student.House)); #line default #line hidden EndContext(); BeginContext(4137, 73, true); WriteLiteral("</td>\r\n <td>\r\n "); EndContext(); BeginContext(4210, 222, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a885587e67e227618ec395a65cc8659e90759fc20658", async() => { BeginContext(4389, 34, true); WriteLiteral("<i class=\"fa fa-trash\"></i> Delete"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.PageHandler = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 85 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" WriteLiteral(student.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4432, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(4466, 119, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a885587e67e227618ec395a65cc8659e90759fc23520", async() => { BeginContext(4550, 31, true); WriteLiteral("<i class=\"fa fa-edit\"></i> Edit"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 86 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" WriteLiteral(student.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4585, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(4619, 122, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a885587e67e227618ec395a65cc8659e90759fc26130", async() => { BeginContext(4703, 34, true); WriteLiteral("<i class=\"fa fa-list\"></i> Classes"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 87 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" WriteLiteral(student.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4741, 68, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n"); EndContext(); #line 90 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" } #line default #line hidden BeginContext(4832, 115, true); WriteLiteral(" <tr>\r\n <td colspan=\"5\" class=\"text-right\">\r\n "); EndContext(); BeginContext(4947, 234, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a885587e67e227618ec395a65cc8659e90759fc29203", async() => { } ); __HogwartsRegistry_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::HogwartsRegistry.TagHelpers.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__HogwartsRegistry_TagHelpers_PageLinkTagHelper); #line 93 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageModel = Model.StudentListViewModel.PagingInfo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __HogwartsRegistry_TagHelpers_PageLinkTagHelper.PageClassSelected = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5181, 86, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n </table>\r\n"); EndContext(); #line 98 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" } else { #line default #line hidden BeginContext(5315, 53, true); WriteLiteral(" <p>No students in the registry.</p>\r\n"); EndContext(); #line 102 "C:\Users\lcooper2\source\repos\HogwartsRegistry\HogwartsRegistry\Pages\Students\Index.cshtml" } #line default #line hidden BeginContext(5383, 8, true); WriteLiteral(" "); 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_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5398, 16, true); WriteLiteral("\r\n </div>"); EndContext(); }