#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(45, 2, true); WriteLiteral("\r\n"); EndContext(); #line 3 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" ViewData["Title"] = "Index"; #line default #line hidden BeginContext(88, 29, true); WriteLiteral("\r\n<h1>Index</h1>\r\n\r\n<p>\r\n "); EndContext(); BeginContext(117, 37, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b2d6ca54ae76c35b756f267d2ddc685660ab9e7d4180", async() => { BeginContext(140, 10, true); WriteLiteral("Create New"); 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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(154, 92, true); WriteLiteral("\r\n</p>\r\n<table class=\"table\">\r\n <thead>\r\n <tr>\r\n <th>\r\n "); EndContext(); BeginContext(247, 38, false); #line 16 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.Id)); #line default #line hidden EndContext(); BeginContext(285, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(341, 41, false); #line 19 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.Title)); #line default #line hidden EndContext(); BeginContext(382, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(438, 44, false); #line 22 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.Location)); #line default #line hidden EndContext(); BeginContext(482, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(538, 45, false); #line 25 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.StartDate)); #line default #line hidden EndContext(); BeginContext(583, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(639, 43, false); #line 28 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.EndDate)); #line default #line hidden EndContext(); BeginContext(682, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(738, 43, false); #line 31 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.Speaker)); #line default #line hidden EndContext(); BeginContext(781, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(837, 39, false); #line 34 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.Url)); #line default #line hidden EndContext(); BeginContext(876, 86, true); WriteLiteral("\r\n </th>\r\n <th></th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n"); EndContext(); #line 40 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" foreach (var item in Model) { #line default #line hidden BeginContext(994, 48, true); WriteLiteral(" <tr>\r\n <td>\r\n "); EndContext(); BeginContext(1043, 37, false); #line 43 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Id)); #line default #line hidden EndContext(); BeginContext(1080, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1135, 98, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b2d6ca54ae76c35b756f267d2ddc685660ab9e7d9244", async() => { BeginContext(1189, 40, false); #line 46 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Title)); #line default #line hidden 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.Route = (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 46 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" WriteLiteral(item.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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1233, 72, true); WriteLiteral("\r\n \r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1306, 43, false); #line 50 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Location)); #line default #line hidden EndContext(); BeginContext(1349, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1405, 44, false); #line 53 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.StartDate)); #line default #line hidden EndContext(); BeginContext(1449, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1505, 42, false); #line 56 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.EndDate)); #line default #line hidden EndContext(); BeginContext(1547, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1603, 42, false); #line 59 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Speaker)); #line default #line hidden EndContext(); BeginContext(1645, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1700, 27, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("register", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b2d6ca54ae76c35b756f267d2ddc685660ab9e7d13473", async() => { } ); __MVCApp_TagHelpers_RegisterLinkHelper = CreateTagHelper <global::MVCApp.TagHelpers.RegisterLinkHelper>(); __tagHelperExecutionContext.Add(__MVCApp_TagHelpers_RegisterLinkHelper); BeginWriteTagHelperAttribute(); #line 62 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" WriteLiteral(item.Url); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __MVCApp_TagHelpers_RegisterLinkHelper.url = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("url", __MVCApp_TagHelpers_RegisterLinkHelper.url, 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(1727, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1783, 65, false); #line 65 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ })); #line default #line hidden EndContext(); BeginContext(1848, 20, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(1869, 71, false); #line 66 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ })); #line default #line hidden EndContext(); BeginContext(1940, 20, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(1961, 69, false); #line 67 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })); #line default #line hidden EndContext(); BeginContext(2030, 36, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n"); EndContext(); #line 70 "C:\Users\hadmin\DotNetCore\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" } #line default #line hidden BeginContext(2069, 24, true); WriteLiteral(" </tbody>\r\n</table>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(45, 2, true); WriteLiteral("\r\n"); EndContext(); #line 3 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" ViewData["Title"] = "Index"; #line default #line hidden BeginContext(88, 29, true); WriteLiteral("\r\n<h2>Index</h2>\r\n\r\n<p>\r\n "); EndContext(); BeginContext(117, 37, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "82589ec2f0304a0c98174592e3f082de", async() => { BeginContext(140, 10, true); WriteLiteral("Create New"); 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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(154, 92, true); WriteLiteral("\r\n</p>\r\n<table class=\"table\">\r\n <thead>\r\n <tr>\r\n <th>\r\n "); EndContext(); BeginContext(247, 38, false); #line 16 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.Id)); #line default #line hidden EndContext(); BeginContext(285, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(341, 41, false); #line 19 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.Title)); #line default #line hidden EndContext(); BeginContext(382, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(438, 44, false); #line 22 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.Location)); #line default #line hidden EndContext(); BeginContext(482, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(538, 45, false); #line 25 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.StartDate)); #line default #line hidden EndContext(); BeginContext(583, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(639, 43, false); #line 28 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.EndDate)); #line default #line hidden EndContext(); BeginContext(682, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(738, 43, false); #line 31 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.Speaker)); #line default #line hidden EndContext(); BeginContext(781, 55, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(837, 39, false); #line 34 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayNameFor(model => model.Url)); #line default #line hidden EndContext(); BeginContext(876, 86, true); WriteLiteral("\r\n </th>\r\n <th></th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n"); EndContext(); #line 40 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" foreach (var item in Model) { #line default #line hidden BeginContext(995, 48, true); WriteLiteral(" <tr>\r\n <td>\r\n "); EndContext(); BeginContext(1044, 37, false); #line 44 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Id)); #line default #line hidden EndContext(); BeginContext(1081, 39, true); WriteLiteral("\r\n </td>\r\n <td>\r\n"); EndContext(); #line 47 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" var parms = new Dictionary <string, string> { { "id", item.Id.ToString() }, { "title", item.Title } }; #line default #line hidden BeginContext(1366, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(1435, 20, true); WriteLiteral(" "); EndContext(); BeginContext(1455, 98, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "142c97a0b11149a89432cf1f6353549a", async() => { BeginContext(1539, 10, false); #line 57 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(item.Title); #line default #line hidden 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.Route = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); #line 57 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues = parms; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-all-route-data", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues, 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(1553, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1609, 43, false); #line 60 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Location)); #line default #line hidden EndContext(); BeginContext(1652, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1708, 44, false); #line 63 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.StartDate)); #line default #line hidden EndContext(); BeginContext(1752, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1808, 42, false); #line 66 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.EndDate)); #line default #line hidden EndContext(); BeginContext(1850, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1906, 42, false); #line 69 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Speaker)); #line default #line hidden EndContext(); BeginContext(1948, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(2003, 27, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("register", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4e91462d549241f1b8234a86792756b5", async() => { } ); __MVCApp_TagHelpers_RegisterLinkHelper = CreateTagHelper <global::MVCApp.TagHelpers.RegisterLinkHelper>(); __tagHelperExecutionContext.Add(__MVCApp_TagHelpers_RegisterLinkHelper); BeginWriteTagHelperAttribute(); #line 72 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" WriteLiteral(item.Url); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __MVCApp_TagHelpers_RegisterLinkHelper.url = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("url", __MVCApp_TagHelpers_RegisterLinkHelper.url, 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(2030, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(2086, 65, false); #line 75 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ })); #line default #line hidden EndContext(); BeginContext(2151, 20, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(2172, 71, false); #line 76 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ })); #line default #line hidden EndContext(); BeginContext(2243, 20, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(2264, 69, false); #line 77 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" Write(Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })); #line default #line hidden EndContext(); BeginContext(2333, 36, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n"); EndContext(); #line 80 "D:\KaushikJ\MVCApp\MVCApp\Views\EventInfo\Index.cshtml" } #line default #line hidden BeginContext(2372, 24, true); WriteLiteral(" </tbody>\r\n</table>\r\n"); EndContext(); }