#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" ViewData["Title"] = "Index"; Layout = "~/Pages/Shared/_Layout.cshtml"; #line default #line hidden BeginContext(139, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(170, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(172, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f1a4f92fcc334690736e740b23a6a3954e1f6cf27824", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); #line 10 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Model = Model.StatusMessage; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("model", __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Model, 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(233, 22, true); WriteLiteral("\r\n<h1>User list</h1>\r\n"); EndContext(); BeginContext(255, 2113, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1a4f92fcc334690736e740b23a6a3954e1f6cf29529", async() => { BeginContext(291, 40, true); WriteLiteral("\r\n <div>\r\n <div>\r\n "); EndContext(); BeginContext(332, 143, false); #line 15 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" Write(Html.Editor("searchCriteria", new { htmlAttributes = new { @class = "form-control", placeholder = "Search...", style = "margin-bottom:10px;" } })); #line default #line hidden EndContext(); BeginContext(475, 146, true); WriteLiteral("\r\n </div>\r\n <button type=\"submit\" name=\"Submit\" value=\"Search\" class=\"btn btn-primary\" style=\"margin-bottom:10px;\">Search</button>\r\n"); EndContext(); #line 18 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" if (HttpContext.Request.Query["searchCriteria"].ToString() != "") { #line default #line hidden BeginContext(708, 12, true); WriteLiteral(" "); EndContext(); BeginContext(720, 67, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1a4f92fcc334690736e740b23a6a3954e1f6cf210922", async() => { BeginContext(768, 15, true); WriteLiteral("Clear searching"); 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_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-searchCriteria", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["searchCriteria"] = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(787, 2, true); WriteLiteral("\r\n"); EndContext(); #line 21 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" } #line default #line hidden BeginContext(800, 118, true); WriteLiteral(" </div>\r\n\r\n <table class=\"table\">\r\n <thead>\r\n <tr>\r\n <th>\r\n "); EndContext(); BeginContext(919, 75, false); #line 28 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" Write(Html.DisplayNameFor(model => model.UsersListVM.ApplicationUserList[0].Name)); #line default #line hidden EndContext(); BeginContext(994, 67, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(1062, 76, false); #line 31 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" Write(Html.DisplayNameFor(model => model.UsersListVM.ApplicationUserList[0].Email)); #line default #line hidden EndContext(); BeginContext(1138, 106, true); WriteLiteral("\r\n </th>\r\n <th></th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n"); EndContext(); #line 37 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" foreach (var item in Model.UsersListVM.ApplicationUserList) { #line default #line hidden BeginContext(1333, 72, true); WriteLiteral(" <tr>\r\n <td>\r\n "); EndContext(); BeginContext(1406, 39, false); #line 41 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Name)); #line default #line hidden EndContext(); BeginContext(1445, 79, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1525, 40, false); #line 44 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Email)); #line default #line hidden EndContext(); BeginContext(1565, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n"); EndContext(); #line 47 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" if (User.IsInRole(SD.AdminEndUser)) { #line default #line hidden BeginContext(1709, 28, true); WriteLiteral(" "); EndContext(); BeginContext(1737, 53, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1a4f92fcc334690736e740b23a6a3954e1f6cf216007", async() => { BeginContext(1782, 4, true); WriteLiteral("Edit"); 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_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 49 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\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(1790, 30, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1820, 57, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1a4f92fcc334690736e740b23a6a3954e1f6cf218492", async() => { BeginContext(1867, 6, true); WriteLiteral("Delete"); 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_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 50 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\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(1877, 2, true); WriteLiteral("\r\n"); EndContext(); #line 51 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" } #line default #line hidden BeginContext(1906, 50, true); WriteLiteral(" </td>\r\n </tr>\r\n"); EndContext(); #line 54 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" } #line default #line hidden BeginContext(1971, 71, true); WriteLiteral(" <tr>\r\n <td cospan=\"5\">\r\n "); EndContext(); BeginContext(2042, 241, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1a4f92fcc334690736e740b23a6a3954e1f6cf221596", async() => { BeginContext(2253, 24, true); WriteLiteral("\r\n\r\n "); EndContext(); } ); __MusicLibrary_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::MusicLibrary.TagHelpers.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__MusicLibrary_TagHelpers_PageLinkTagHelper); #line 57 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Users\Index.cshtml" __MusicLibrary_TagHelpers_PageLinkTagHelper.PageModel = Model.UsersListVM.PagingInfo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __MusicLibrary_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); __MusicLibrary_TagHelpers_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __MusicLibrary_TagHelpers_PageLinkTagHelper.PageClassNormal = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __MusicLibrary_TagHelpers_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(2283, 78, true); WriteLiteral("\r\n\r\n </td>\r\n </tr>\r\n </tbody>\r\n </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_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Page = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" ViewData["Title"] = "Index"; Layout = "~/Pages/Shared/_Layout.cshtml"; #line default #line hidden BeginContext(140, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(171, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); BeginContext(175, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b0b69ed1591f3a615c62ef5b5201af6c4e65585f8448", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); #line 11 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Model = Model.StatusMessage; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("model", __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Model, 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(236, 23, true); WriteLiteral("\r\n<h1>Album list</h1>\r\n"); EndContext(); #line 13 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" if (User.IsInRole(SD.AdminEndUser)) { #line default #line hidden BeginContext(300, 17, true); WriteLiteral(" <p>\r\n "); EndContext(); BeginContext(317, 38, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0b69ed1591f3a615c62ef5b5201af6c4e65585f10436", async() => { BeginContext(338, 13, true); WriteLiteral("Add new album"); 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_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(355, 12, true); WriteLiteral("\r\n </p>\r\n"); EndContext(); #line 18 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" } #line default #line hidden BeginContext(370, 2262, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0b69ed1591f3a615c62ef5b5201af6c4e65585f11953", async() => { BeginContext(406, 40, true); WriteLiteral("\r\n <div>\r\n <div>\r\n "); EndContext(); BeginContext(447, 144, false); #line 22 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" Write(Html.Editor("searchCriteria", new { htmlAttributes = new { @class = "form-control", placeholder = "Search...", style = "margin-bottom:10px" } })); #line default #line hidden EndContext(); BeginContext(591, 146, true); WriteLiteral("\r\n </div>\r\n <button type=\"submit\" name=\"Submit\" value=\"Search\" class=\"btn btn-primary\" style=\"margin-bottom:10px;\">Search</button>\r\n"); EndContext(); #line 25 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" if (HttpContext.Request.Query["searchCriteria"].ToString() != "") { #line default #line hidden BeginContext(824, 15, true); WriteLiteral(" <p>"); EndContext(); BeginContext(839, 67, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0b69ed1591f3a615c62ef5b5201af6c4e65585f13353", async() => { BeginContext(887, 15, true); WriteLiteral("Clear searching"); 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_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-searchCriteria", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["searchCriteria"] = (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(906, 6, true); WriteLiteral("</p>\r\n"); EndContext(); #line 28 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" } #line default #line hidden BeginContext(923, 14, true); WriteLiteral(" </div>\r\n\r\n"); EndContext(); #line 31 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" if (Model.AlbumVM.AlbumList.Count == 0) { #line default #line hidden BeginContext(990, 55, true); WriteLiteral(" <p>No albums found. Please add new album.</p>\r\n"); EndContext(); #line 34 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" } else { #line default #line hidden BeginContext(1069, 79, true); WriteLiteral(" <div style=\"display:flex; flex-wrap:wrap; justify-content:center;\">\r\n\r\n"); EndContext(); #line 39 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" foreach (var item in Model.AlbumVM.AlbumList) { #line default #line hidden BeginContext(1223, 182, true); WriteLiteral(" <div style=\"width:200px; padding-bottom:10px; margin:10px; margin-top:30px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); text-align:center;\">\r\n <img"); EndContext(); BeginWriteAttribute("src", " src=\'", 1405, "\'", 1457, 1); #line 42 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" WriteAttributeValue("", 1411, Url.Content("~/covers/" + item.Name + ".jpg"), 1411, 46, false); #line default #line hidden EndWriteAttribute(); BeginContext(1458, 48, true); WriteLiteral(" + .jpg\' width=\"200\" />\r\n <b>"); EndContext(); BeginContext(1507, 39, false); #line 43 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Name)); #line default #line hidden EndContext(); BeginContext(1546, 34, true); WriteLiteral("</b><br />\r\n\r\n "); EndContext(); BeginContext(1581, 41, false); #line 45 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Artist)); #line default #line hidden EndContext(); BeginContext(1622, 30, true); WriteLiteral("<br />\r\n\r\n "); EndContext(); BeginContext(1652, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0b69ed1591f3a615c62ef5b5201af6c4e65585f18169", async() => { BeginContext(1710, 10, true); WriteLiteral("View songs"); 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_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-albumId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 47 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" WriteLiteral(item.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["albumId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-albumId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["albumId"], 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(1724, 2, true); WriteLiteral("\r\n"); EndContext(); #line 48 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" if (User.IsInRole(SD.AdminEndUser)) { #line default #line hidden BeginContext(1807, 60, true); WriteLiteral(" <b> | </b>\r\n "); EndContext(); BeginContext(1867, 53, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0b69ed1591f3a615c62ef5b5201af6c4e65585f21037", async() => { BeginContext(1912, 4, true); WriteLiteral("Edit"); 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_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 51 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\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(1920, 12, true); WriteLiteral("<b> | </b>\r\n"); EndContext(); #line 52 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" } #line default #line hidden BeginContext(1955, 2, true); WriteLiteral("\r\n"); EndContext(); #line 54 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" if (User.IsInRole(SD.AdminEndUser)) { #line default #line hidden BeginContext(2038, 24, true); WriteLiteral(" "); EndContext(); BeginContext(2062, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0b69ed1591f3a615c62ef5b5201af6c4e65585f24104", async() => { BeginContext(2109, 7, true); WriteLiteral("Delete "); 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_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 56 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\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(2120, 2, true); WriteLiteral("\r\n"); EndContext(); #line 57 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" } #line default #line hidden BeginContext(2145, 26, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 60 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" } #line default #line hidden BeginContext(2186, 129, true); WriteLiteral(" </div>\r\n <table style=\"margin-top:20px;\">\r\n <tr>\r\n <td cospan=\"5\">\r\n "); EndContext(); BeginContext(2315, 237, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0b69ed1591f3a615c62ef5b5201af6c4e65585f27245", async() => { BeginContext(2522, 24, true); WriteLiteral("\r\n\r\n "); EndContext(); } ); __MusicLibrary_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::MusicLibrary.TagHelpers.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__MusicLibrary_TagHelpers_PageLinkTagHelper); #line 65 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" __MusicLibrary_TagHelpers_PageLinkTagHelper.PageModel = Model.AlbumVM.PagingInfo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __MusicLibrary_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __MusicLibrary_TagHelpers_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __MusicLibrary_TagHelpers_PageLinkTagHelper.PageClassNormal = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __MusicLibrary_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(2552, 64, true); WriteLiteral("\r\n\r\n </td>\r\n </tr>\r\n </table>\r\n"); EndContext(); #line 73 "C:\Users\kapib\source\repos\MusicLibrary\MusicLibrary\Pages\Albums\Index.cshtml" } #line default #line hidden } ); __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); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Page = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); }