#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(26, 70, true); WriteLiteral("\r\n<div>\r\n <h3>See all currently available courses.</h3>\r\n</div>\r\n\r\n"); EndContext(); #line 7 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" foreach (var m in Model.Courses) { #line default #line hidden BeginContext(133, 205, true); WriteLiteral(" <div class=\"card card-outline-primary m-1 p-1\">\r\n <div class=\"p-1\">\r\n <img src=\"\" class=\"card-img-top\" />\r\n <div class=\"card-body\">\r\n <h5 class=\"card-title\">"); EndContext(); BeginContext(339, 6, false); #line 13 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" Write(m.Name); #line default #line hidden EndContext(); BeginContext(345, 44, true); WriteLiteral("</h5>\r\n <p class=\"card-text\">"); EndContext(); BeginContext(390, 9, false); #line 14 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" Write(m.Details); #line default #line hidden EndContext(); BeginContext(399, 22, true); WriteLiteral("</p>\r\n "); EndContext(); BeginContext(421, 154, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e303bb26658d83d1d5ba1418ffc07da6ea89ecf39633", async() => { BeginContext(565, 6, true); WriteLiteral("Enroll"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 17 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" WriteLiteral(m.CourseId); #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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(575, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(593, 170, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e303bb26658d83d1d5ba1418ffc07da6ea89ecf312248", async() => { BeginContext(712, 47, true); WriteLiteral("\r\n Details\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 19 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" WriteLiteral(m.CourseId); #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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(763, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(781, 175, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e303bb26658d83d1d5ba1418ffc07da6ea89ecf314955", async() => { BeginContext(897, 55, true); WriteLiteral("\r\n Edit for Admins\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 23 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" WriteLiteral(m.CourseId); #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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(956, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(974, 156, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e303bb26658d83d1d5ba1418ffc07da6ea89ecf317667", async() => { BeginContext(1097, 29, true); WriteLiteral("Check signups for this course"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 27 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" WriteLiteral(m.CourseId); #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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1130, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1148, 244, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e303bb26658d83d1d5ba1418ffc07da6ea89ecf320340", async() => { BeginContext(1274, 111, true); WriteLiteral("\r\n <button type=\"submit\" class=\"btn btn-danger\">Delete for Admins</button>\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.Action = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 28 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" WriteLiteral(m.CourseId); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1392, 52, true); WriteLiteral("\r\n </div>\r\n\r\n </div>\r\n </div>\r\n"); EndContext(); #line 36 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" } #line default #line hidden BeginContext(1457, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(1459, 263, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e303bb26658d83d1d5ba1418ffc07da6ea89ecf323869", async() => { BeginContext(1714, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __FinalExamApp_Infrastructure_PageLinkTagHelper = CreateTagHelper <global::FinalExamApp.Infrastructure.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__FinalExamApp_Infrastructure_PageLinkTagHelper); #line 39 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" __FinalExamApp_Infrastructure_PageLinkTagHelper.PageModel = Model.PagingInfo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __FinalExamApp_Infrastructure_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); #line 39 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassesEnabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-classes-enabled", __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassesEnabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassNormal = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassSelected = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); if (__FinalExamApp_Infrastructure_PageLinkTagHelper.PageUrlValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("page-url-category", "FinalExamApp.Infrastructure.PageLinkTagHelper", "PageUrlValues")); } #line 41 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\Index.cshtml" __FinalExamApp_Infrastructure_PageLinkTagHelper.PageUrlValues["category"] = Model.CurrentCategory; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-url-category", __FinalExamApp_Infrastructure_PageLinkTagHelper.PageUrlValues["category"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1722, 2, true); WriteLiteral("\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(24, 13, true); WriteLiteral("\r\n<div>\r\n "); EndContext(); BeginContext(37, 84, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "80a0b84267391624732ccd37fc92e8d27907c7da6553", async() => { BeginContext(113, 4, true); WriteLiteral("Home"); 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.Action = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(121, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(127, 110, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "80a0b84267391624732ccd37fc92e8d27907c7da8214", async() => { BeginContext(214, 19, true); WriteLiteral("Back to all courses"); 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.Action = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(237, 14, true); WriteLiteral("\r\n</div>\r\n\r\n\r\n"); EndContext(); #line 9 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\CourseSignUp\Index.cshtml" foreach (var m in Model.CourseSignUps) { #line default #line hidden BeginContext(303, 153, true); WriteLiteral(" <div class=\"card\">\r\n <img src=\"\" class=\"card-img-top\" />\r\n <div class=\"card-body\">\r\n <h5 class=\"card-title\">"); EndContext(); BeginContext(457, 10, false); #line 14 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\CourseSignUp\Index.cshtml" Write(m.FullName); #line default #line hidden EndContext(); BeginContext(467, 44, true); WriteLiteral("</h5>\r\n <p class=\"card-text\">"); EndContext(); BeginContext(512, 9, false); #line 15 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\CourseSignUp\Index.cshtml" Write(m.Address); #line default #line hidden EndContext(); BeginContext(521, 162, true); WriteLiteral("</p>\r\n <p class=\"card-text\">TODO EMAIL</p>\r\n <a href=\"#\" class=\"btn btn-primary\">TODO EDIT</a>\r\n </div>\r\n </div>\r\n"); EndContext(); #line 20 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\CourseSignUp\Index.cshtml" } #line default #line hidden BeginContext(690, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(698, 234, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "80a0b84267391624732ccd37fc92e8d27907c7da11524", async() => { BeginContext(920, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __FinalExamApp_Infrastructure_PageLinkTagHelper = CreateTagHelper <global::FinalExamApp.Infrastructure.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__FinalExamApp_Infrastructure_PageLinkTagHelper); #line 23 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\CourseSignUp\Index.cshtml" __FinalExamApp_Infrastructure_PageLinkTagHelper.PageModel = Model.PagingInfo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __FinalExamApp_Infrastructure_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); #line 23 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\CourseSignUp\Index.cshtml" __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassesEnabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-classes-enabled", __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassesEnabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassNormal = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassSelected = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(932, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(26, 70, true); WriteLiteral("\r\n<div>\r\n <h3>See the list of all courses we offer</h3>\r\n</div>\r\n\r\n"); EndContext(); #line 7 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" foreach (var m in Model.Courses) { #line default #line hidden BeginContext(134, 205, true); WriteLiteral(" <div class=\"card card-outline-primary m-1 p-1\">\r\n <div class=\"p-1\">\r\n <img src=\"\" class=\"card-img-top\" />\r\n <div class=\"card-body\">\r\n <h5 class=\"card-title\">"); EndContext(); BeginContext(340, 6, false); #line 13 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" Write(m.Name); #line default #line hidden EndContext(); BeginContext(346, 44, true); WriteLiteral("</h5>\r\n <p class=\"card-text\">"); EndContext(); BeginContext(391, 9, false); #line 14 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" Write(m.Details); #line default #line hidden EndContext(); BeginContext(400, 22, true); WriteLiteral("</p>\r\n "); EndContext(); BeginContext(422, 134, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d050ddd3e4a4885022bec2adf602fbbe20a96ff19733", async() => { BeginContext(546, 6, true); WriteLiteral("Enroll"); 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.Action = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 16 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" WriteLiteral(m.CourseId); #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_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(556, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(574, 86, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d050ddd3e4a4885022bec2adf602fbbe20a96ff112356", async() => { BeginContext(649, 7, true); WriteLiteral("Details"); 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.Action = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 17 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" WriteLiteral(m.CourseId); #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_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(660, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(678, 91, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d050ddd3e4a4885022bec2adf602fbbe20a96ff114796", async() => { BeginContext(750, 15, true); WriteLiteral("Edit for Admins"); 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.Action = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 18 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" WriteLiteral(m.CourseId); #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_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(769, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(787, 156, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d050ddd3e4a4885022bec2adf602fbbe20a96ff117243", async() => { BeginContext(910, 29, true); WriteLiteral("Check signups for this course"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 20 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" WriteLiteral(m.CourseId); #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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(943, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(961, 244, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d050ddd3e4a4885022bec2adf602fbbe20a96ff119922", async() => { BeginContext(1087, 111, true); WriteLiteral("\r\n <button type=\"submit\" class=\"btn btn-danger\">Delete for Admins</button>\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.Action = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 21 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" WriteLiteral(m.CourseId); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1205, 52, true); WriteLiteral("\r\n </div>\r\n\r\n </div>\r\n </div>\r\n"); EndContext(); #line 29 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" } #line default #line hidden BeginContext(1262, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(1264, 231, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d050ddd3e4a4885022bec2adf602fbbe20a96ff123461", async() => { BeginContext(1487, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __FinalExamApp_Infrastructure_PageLinkTagHelper = CreateTagHelper <global::FinalExamApp.Infrastructure.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__FinalExamApp_Infrastructure_PageLinkTagHelper); #line 32 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" __FinalExamApp_Infrastructure_PageLinkTagHelper.PageModel = Model.PagingInfo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __FinalExamApp_Infrastructure_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); #line 32 "D:\C#\DotNetCoreFinishApp\FinalExamApp\FinalExamApp\Views\Course\ShowAllCourses.cshtml" __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassesEnabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-classes-enabled", __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassesEnabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassNormal = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __FinalExamApp_Infrastructure_PageLinkTagHelper.PageClassSelected = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); }