#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 4 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" ViewData["Title"] = "Index"; #line default #line hidden BeginContext(142, 2, true); WriteLiteral("\r\n"); EndContext(); #line 8 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" if (!User.IsInRole("user")) { #line default #line hidden BeginContext(175, 8, true); WriteLiteral("<br />\r\n"); EndContext(); BeginContext(188, 35, false); #line 10 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.ActionLink("Create", "Create")); #line default #line hidden EndContext(); #line 10 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" } #line default #line hidden BeginContext(228, 8, true); WriteLiteral("<br />\r\n"); EndContext(); BeginContext(236, 537, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "640c9bef85914255a64c36a4f480c4ee", async() => { BeginContext(255, 100, true); WriteLiteral("\r\n <div class=\"form-inline\">\r\n <label class=\"control-label\">First Name: </label>\r\n "); EndContext(); BeginContext(356, 119, false); #line 16 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DropDownList("agent", Model.FilterViewModel.Agents as SelectList, htmlAttributes: new { @class = "form-control" })); #line default #line hidden EndContext(); BeginContext(475, 69, true); WriteLiteral("\r\n <label class=\"control-label\">Goods Name: </label>\r\n "); EndContext(); BeginContext(545, 117, false); #line 18 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DropDownList("name", Model.FilterViewModel.Names as SelectList, htmlAttributes: new { @class = "form-control" })); #line default #line hidden EndContext(); BeginContext(662, 104, true); WriteLiteral("\r\n <input type=\"submit\" value=\"Filter\" class=\"btn btn-default\" />\r\n </div>\r\n <br /><br />\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_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(773, 61, true); WriteLiteral("\r\n<table class=\"table\">\r\n <tr>\r\n <th>\r\n "); EndContext(); BeginContext(834, 289, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba8435859a4e48a7913534f8f5b5007d", async() => { BeginContext(1061, 58, false); #line 28 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayNameFor(model => model.DutiViewModel.DutiesID)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 26 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.SortViewModel.DutiesIDSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 27 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedAgent); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-surname", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 28 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-rate", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"], 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(1123, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(1166, 291, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d3c27a92adfe4578b3cefa8555612184", async() => { BeginContext(1394, 59, false); #line 33 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayNameFor(model => model.DutiViewModel.FirstName)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 31 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.SortViewModel.FirstNameSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 32 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedAgent); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-surname", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 33 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-rate", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"], 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(1457, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(1500, 281, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6beb211d663a403fb646ce9c6c092f85", async() => { BeginContext(1723, 54, false); #line 38 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayNameFor(model => model.DutiViewModel.Name)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 36 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.SortViewModel.NameSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 37 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedAgent); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-surname", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 38 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-rate", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"], 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(1781, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(1824, 297, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bd20dfbe92174a2fa9b529c8e2d9974d", async() => { BeginContext(2055, 62, false); #line 43 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayNameFor(model => model.DutiViewModel.Date_receipt)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 41 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.SortViewModel.Date_receiptSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 42 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedAgent); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-surname", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 43 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-rate", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"], 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(2121, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(2164, 303, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "420935e939d346c89aa0e9cdc7575c54", async() => { BeginContext(2398, 65, false); #line 48 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayNameFor(model => model.DutiViewModel.Date_of_payment)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 46 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.SortViewModel.Date_of_paymentSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 47 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedAgent); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-surname", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 48 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-rate", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"], 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(2467, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(2510, 309, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a1588fa94bfe4000af0eb24ea8955848", async() => { BeginContext(2747, 68, false); #line 53 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayNameFor(model => model.DutiViewModel.Date_of_goods_call)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 51 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.SortViewModel.Date_of_goods_callSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 52 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedAgent); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-surname", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["surname"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 53 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-rate", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"], 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(2819, 28, true); WriteLiteral("\r\n </th>\r\n </tr>\r\n"); EndContext(); #line 56 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" foreach (var item in Model.Duties) { #line default #line hidden BeginContext(2895, 30, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(2926, 43, false); #line 59 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayFor(modelItem => item.DutiesID)); #line default #line hidden EndContext(); BeginContext(2969, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(2993, 59, false); #line 60 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Customs_agents.FirstName)); #line default #line hidden EndContext(); BeginContext(3052, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(3076, 73, false); #line 61 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Customs_werehouses.Types_of_goods.Name)); #line default #line hidden EndContext(); BeginContext(3149, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(3173, 47, false); #line 62 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Date_receipt)); #line default #line hidden EndContext(); BeginContext(3220, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(3244, 50, false); #line 63 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Date_of_payment)); #line default #line hidden EndContext(); BeginContext(3294, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(3318, 53, false); #line 64 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Date_of_goods_call)); #line default #line hidden EndContext(); BeginContext(3371, 25, true); WriteLiteral("</td>\r\n <td>\r\n"); EndContext(); #line 66 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" if (!User.IsInRole("user")) { #line default #line hidden BeginContext(3461, 51, true); WriteLiteral(" <div>\r\n "); EndContext(); BeginContext(3513, 65, false); #line 69 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.ActionLink("Edit", "Edit", new { id = item.DutiesID }, null)); #line default #line hidden EndContext(); BeginContext(3578, 28, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(3607, 71, false); #line 70 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.ActionLink("Details", "Details", new { id = item.DutiesID }, null)); #line default #line hidden EndContext(); BeginContext(3678, 28, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(3707, 69, false); #line 71 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.ActionLink("Delete", "Delete", new { id = item.DutiesID }, null)); #line default #line hidden EndContext(); BeginContext(3776, 30, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 73 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" } else { #line default #line hidden BeginContext(3866, 51, true); WriteLiteral(" <div>\r\n "); EndContext(); BeginContext(3918, 71, false); #line 77 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" Write(Html.ActionLink("Details", "Details", new { id = item.DutiesID }, null)); #line default #line hidden EndContext(); BeginContext(3989, 30, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 79 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" } #line default #line hidden BeginContext(4038, 34, true); WriteLiteral(" </td>\r\n </tr>\r\n"); EndContext(); #line 82 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" } #line default #line hidden BeginContext(4079, 10, true); WriteLiteral("</table>\r\n"); EndContext(); BeginContext(4089, 276, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("page-link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0e6f9ef7482842f8b73db3045a1584a7", async() => { } ); __CustomsBase_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::CustomsBase.TagHelpers.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__CustomsBase_TagHelpers_PageLinkTagHelper); #line 84 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" __CustomsBase_TagHelpers_PageLinkTagHelper.PageModel = Model.PageViewModel; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __CustomsBase_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __CustomsBase_TagHelpers_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "page-url-surname", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 85 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" AddHtmlAttributeValue("", 4183, Model.FilterViewModel.SelectedAgent, 4183, 38, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "page-url-rate", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 86 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" AddHtmlAttributeValue("", 4250, Model.FilterViewModel.SelectedName, 4250, 37, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "page-url-sortorder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 87 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Duti\Index.cshtml" AddHtmlAttributeValue("", 4321, Model.SortViewModel.Current, 4321, 30, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4365, 2, true); WriteLiteral("\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 4 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" ViewData["Title"] = "Index"; #line default #line hidden BeginContext(156, 2, true); WriteLiteral("\r\n"); EndContext(); #line 8 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" if (!User.IsInRole("user")) { #line default #line hidden BeginContext(191, 35, true); WriteLiteral(" <div>\r\n <br />\r\n "); EndContext(); BeginContext(227, 35, false); #line 12 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.ActionLink("Create", "Create")); #line default #line hidden EndContext(); BeginContext(262, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 14 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" } #line default #line hidden BeginContext(279, 8, true); WriteLiteral("<br />\r\n"); EndContext(); BeginContext(287, 332, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "92bf827803f04482b4271ab0786f5633", async() => { BeginContext(306, 100, true); WriteLiteral("\r\n <div class=\"form-inline\">\r\n <label class=\"control-label\">Goods Name: </label>\r\n "); EndContext(); BeginContext(407, 105, false); #line 19 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.TextBox("Name", Model.FilterViewModel.SelectedName, htmlAttributes: new { @class = "form-control" })); #line default #line hidden EndContext(); BeginContext(512, 100, true); WriteLiteral("\r\n <input type=\"submit\" value=\"Filter\" class=\"btn-default\" />\r\n </div>\r\n <br /><br />\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_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(619, 61, true); WriteLiteral("\r\n<table class=\"table\">\r\n <tr>\r\n <th>\r\n "); EndContext(); BeginContext(680, 229, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0ad080e57810461798976a4f4c4763c9", async() => { BeginContext(840, 65, false); #line 28 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.DisplayNameFor(model => model.Type_Of_Good.Types_of_goodsID)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 27 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" WriteLiteral(Model.SortViewModel.Types_of_goodsIDSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 28 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-type", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"], 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(909, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(952, 205, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1367f1ba33d1408fb386c50a9569bd91", async() => { BeginContext(1100, 53, false); #line 32 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.DisplayNameFor(model => model.Type_Of_Good.Name)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 31 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" WriteLiteral(Model.SortViewModel.NameSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 32 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-type", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"], 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(1157, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(1200, 205, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "500de6b165f84f36ba59992c77f83663", async() => { BeginContext(1348, 53, false); #line 36 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.DisplayNameFor(model => model.Type_Of_Good.Unit)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 35 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" WriteLiteral(Model.SortViewModel.UnitSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 36 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-type", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"], 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(1405, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(1448, 225, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "18e9d757db9142dea4e56973287fb19f", async() => { BeginContext(1606, 63, false); #line 40 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.DisplayNameFor(model => model.Type_Of_Good.Amount_of_duty)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 39 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" WriteLiteral(Model.SortViewModel.Amount_of_dutySort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 40 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-type", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"], 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(1673, 28, true); WriteLiteral("\r\n </th>\r\n </tr>\r\n"); EndContext(); #line 43 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" foreach (var rate in Model.Type_Of_Goods) { #line default #line hidden BeginContext(1756, 30, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(1787, 51, false); #line 46 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.DisplayFor(modelItem => rate.Types_of_goodsID)); #line default #line hidden EndContext(); BeginContext(1838, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1862, 39, false); #line 47 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.DisplayFor(modelItem => rate.Name)); #line default #line hidden EndContext(); BeginContext(1901, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1925, 39, false); #line 48 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.DisplayFor(modelItem => rate.Unit)); #line default #line hidden EndContext(); BeginContext(1964, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1988, 49, false); #line 49 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.DisplayFor(modelItem => rate.Amount_of_duty)); #line default #line hidden EndContext(); BeginContext(2037, 25, true); WriteLiteral("</td>\r\n <td>\r\n"); EndContext(); #line 51 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" if (!User.IsInRole("user")) { #line default #line hidden BeginContext(2127, 43, true); WriteLiteral(" <div>\r\n "); EndContext(); BeginContext(2171, 73, false); #line 54 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.ActionLink("Edit", "Edit", new { id = rate.Types_of_goodsID }, null)); #line default #line hidden EndContext(); BeginContext(2244, 24, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(2269, 79, false); #line 55 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.ActionLink("Details", "Details", new { id = rate.Types_of_goodsID }, null)); #line default #line hidden EndContext(); BeginContext(2348, 24, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(2373, 77, false); #line 56 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.ActionLink("Delete", "Delete", new { id = rate.Types_of_goodsID }, null)); #line default #line hidden EndContext(); BeginContext(2450, 26, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 58 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" } else { #line default #line hidden BeginContext(2536, 51, true); WriteLiteral(" <div>\r\n "); EndContext(); BeginContext(2588, 79, false); #line 62 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" Write(Html.ActionLink("Details", "Details", new { id = rate.Types_of_goodsID }, null)); #line default #line hidden EndContext(); BeginContext(2667, 31, true); WriteLiteral(" \r\n </div>\r\n"); EndContext(); #line 64 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" } #line default #line hidden BeginContext(2717, 34, true); WriteLiteral(" </td>\r\n </tr>\r\n"); EndContext(); #line 67 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" } #line default #line hidden BeginContext(2760, 10, true); WriteLiteral("</table>\r\n"); EndContext(); BeginContext(2770, 206, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("page-link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a089e9785154153b97237b96863818c", async() => { } ); __CustomsBase_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::CustomsBase.TagHelpers.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__CustomsBase_TagHelpers_PageLinkTagHelper); #line 70 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" __CustomsBase_TagHelpers_PageLinkTagHelper.PageModel = Model.PageViewModel; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __CustomsBase_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __CustomsBase_TagHelpers_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "page-url-type", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 71 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" AddHtmlAttributeValue("", 2861, Model.FilterViewModel.SelectedName, 2861, 37, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "page-url-sortorder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 72 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Type_of_Good\Index.cshtml" AddHtmlAttributeValue("", 2932, Model.SortViewModel.Current, 2932, 30, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2976, 22, true); WriteLiteral("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 4 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" ViewData["Title"] = "Index"; #line default #line hidden BeginContext(168, 2, true); WriteLiteral("\r\n"); EndContext(); #line 8 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" if (!User.IsInRole("user")) { #line default #line hidden BeginContext(203, 35, true); WriteLiteral(" <div>\r\n <br />\r\n "); EndContext(); BeginContext(239, 35, false); #line 12 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" Write(Html.ActionLink("Create", "Create")); #line default #line hidden EndContext(); BeginContext(274, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 14 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" } #line default #line hidden BeginContext(291, 8, true); WriteLiteral("<br />\r\n"); EndContext(); BeginContext(299, 348, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b317e6eaaea04ef780e8f3f62871b510", async() => { BeginContext(318, 100, true); WriteLiteral("\r\n <div class=\"form-inline\">\r\n <label class=\"control-label\">Goods Name: </label>\r\n "); EndContext(); BeginContext(419, 117, false); #line 19 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" Write(Html.DropDownList("name", Model.FilterViewModel.Names as SelectList, htmlAttributes: new { @class = "form-control" })); #line default #line hidden EndContext(); BeginContext(536, 104, true); WriteLiteral("\r\n <input type=\"submit\" value=\"Filter\" class=\"btn btn-default\" />\r\n </div>\r\n <br /><br />\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_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(647, 61, true); WriteLiteral("\r\n<table class=\"table\">\r\n <tr>\r\n <th>\r\n "); EndContext(); BeginContext(708, 233, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bb26b4803b2245579e669d86dfc151f2", async() => { BeginContext(863, 74, false); #line 28 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" Write(Html.DisplayNameFor(model => model.Customs_werehouseViewModel.WerehouseID)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 27 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" WriteLiteral(Model.SortViewModel.WerehouseIDSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 28 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-rate", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"], 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(941, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(984, 219, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d35a7d06029240b998eb1d24ab794c55", async() => { BeginContext(1132, 67, false); #line 32 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" Write(Html.DisplayNameFor(model => model.Customs_werehouseViewModel.Name)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 31 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" WriteLiteral(Model.SortViewModel.NameSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 32 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-rate", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["rate"], 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(1203, 28, true); WriteLiteral("\r\n </th>\r\n </tr>\r\n"); EndContext(); #line 35 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" foreach (var item in Model.Customs_Werehouses) { #line default #line hidden BeginContext(1291, 30, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(1322, 46, false); #line 38 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" Write(Html.DisplayFor(modelItem => item.WerehouseID)); #line default #line hidden EndContext(); BeginContext(1368, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1392, 54, false); #line 39 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Types_of_goods.Name)); #line default #line hidden EndContext(); BeginContext(1446, 25, true); WriteLiteral("</td>\r\n <td>\r\n"); EndContext(); #line 41 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" if (!User.IsInRole("user")) { #line default #line hidden BeginContext(1536, 51, true); WriteLiteral(" <div>\r\n "); EndContext(); BeginContext(1588, 68, false); #line 44 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" Write(Html.ActionLink("Edit", "Edit", new { id = item.WerehouseID }, null)); #line default #line hidden EndContext(); BeginContext(1656, 28, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(1685, 74, false); #line 45 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" Write(Html.ActionLink("Details", "Details", new { id = item.WerehouseID }, null)); #line default #line hidden EndContext(); BeginContext(1759, 28, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(1788, 72, false); #line 46 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" Write(Html.ActionLink("Delete", "Delete", new { id = item.WerehouseID }, null)); #line default #line hidden EndContext(); BeginContext(1860, 30, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 48 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" } else { #line default #line hidden BeginContext(1950, 51, true); WriteLiteral(" <div>\r\n "); EndContext(); BeginContext(2002, 74, false); #line 52 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" Write(Html.ActionLink("Details", "Details", new { id = item.WerehouseID }, null)); #line default #line hidden EndContext(); BeginContext(2076, 31, true); WriteLiteral(" \r\n </div>\r\n"); EndContext(); #line 54 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" } #line default #line hidden BeginContext(2126, 34, true); WriteLiteral(" </td>\r\n </tr>\r\n"); EndContext(); #line 57 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" } #line default #line hidden BeginContext(2167, 10, true); WriteLiteral("</table>\r\n"); EndContext(); BeginContext(2177, 206, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("page-link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8d976ed22fa14f429fcb0361562a300d", async() => { } ); __CustomsBase_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::CustomsBase.TagHelpers.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__CustomsBase_TagHelpers_PageLinkTagHelper); #line 59 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" __CustomsBase_TagHelpers_PageLinkTagHelper.PageModel = Model.PageViewModel; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __CustomsBase_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __CustomsBase_TagHelpers_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "page-url-rate", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 60 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" AddHtmlAttributeValue("", 2268, Model.FilterViewModel.SelectedName, 2268, 37, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "page-url-sortorder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 61 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_werehouses\Index.cshtml" AddHtmlAttributeValue("", 2339, Model.SortViewModel.Current, 2339, 30, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2383, 2, true); WriteLiteral("\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 4 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" ViewData["Title"] = "Index"; #line default #line hidden BeginContext(160, 2, true); WriteLiteral("\r\n"); EndContext(); #line 8 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" if (!User.IsInRole("user")) { #line default #line hidden BeginContext(195, 35, true); WriteLiteral(" <div>\r\n <br />\r\n "); EndContext(); BeginContext(231, 35, false); #line 12 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.ActionLink("Create", "Create")); #line default #line hidden EndContext(); BeginContext(266, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 14 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" } #line default #line hidden BeginContext(283, 8, true); WriteLiteral("<br />\r\n"); EndContext(); BeginContext(291, 342, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5ae5474ecb214b4285f1c7ad72c1c323", async() => { BeginContext(310, 100, true); WriteLiteral("\r\n <div class=\"form-inline\">\r\n <label class=\"control-label\">First Name: </label>\r\n "); EndContext(); BeginContext(411, 115, false); #line 19 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.TextBox("firstName", Model.FilterViewModel.SelectedfirstName, htmlAttributes: new { @class = "form-control" })); #line default #line hidden EndContext(); BeginContext(526, 100, true); WriteLiteral("\r\n <input type=\"submit\" value=\"Filter\" class=\"btn-default\" />\r\n </div>\r\n <br /><br />\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_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(633, 61, true); WriteLiteral("\r\n<table class=\"table\">\r\n <tr>\r\n <th>\r\n "); EndContext(); BeginContext(694, 234, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "226126eecf1847d4bfb7fa3f06c21859", async() => { BeginContext(858, 66, false); #line 28 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.DisplayNameFor(model => model.Customs_agents.Customs_agentID)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 27 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" WriteLiteral(Model.SortViewModel.Customs_agentIDSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 28 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedfirstName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-type", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"], 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(928, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(971, 222, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "525584e890424060960953e6b1f036bc", async() => { BeginContext(1129, 60, false); #line 32 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.DisplayNameFor(model => model.Customs_agents.FirstName)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 31 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" WriteLiteral(Model.SortViewModel.FirstNameSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 32 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedfirstName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-type", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"], 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(1193, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(1236, 224, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7cabe7dc081c455bb612d5915f0f15ac", async() => { BeginContext(1395, 61, false); #line 36 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.DisplayNameFor(model => model.Customs_agents.SecondName)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 35 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" WriteLiteral(Model.SortViewModel.SecondNameSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 36 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedfirstName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-type", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"], 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(1460, 43, true); WriteLiteral("\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(1503, 216, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d4bcfaa3ad0c4e14bde589ca94570b1c", async() => { BeginContext(1658, 57, false); #line 40 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.DisplayNameFor(model => model.Customs_agents.Serves)); #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.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sortOrder", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 39 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" WriteLiteral(Model.SortViewModel.ServesSort); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortOrder", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortOrder"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 40 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" WriteLiteral(Model.FilterViewModel.SelectedfirstName); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-type", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["type"], 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(1719, 28, true); WriteLiteral("\r\n </th>\r\n </tr>\r\n"); EndContext(); #line 43 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" foreach (var rate in Model.Customs_Agents) { #line default #line hidden BeginContext(1803, 30, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(1834, 50, false); #line 46 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.DisplayFor(modelItem => rate.Customs_agentID)); #line default #line hidden EndContext(); BeginContext(1884, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1908, 44, false); #line 47 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.DisplayFor(modelItem => rate.FirstName)); #line default #line hidden EndContext(); BeginContext(1952, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1976, 45, false); #line 48 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.DisplayFor(modelItem => rate.SecondName)); #line default #line hidden EndContext(); BeginContext(2021, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(2045, 41, false); #line 49 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.DisplayFor(modelItem => rate.Serves)); #line default #line hidden EndContext(); BeginContext(2086, 25, true); WriteLiteral("</td>\r\n <td>\r\n"); EndContext(); #line 51 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" if (!User.IsInRole("user")) { #line default #line hidden BeginContext(2176, 51, true); WriteLiteral(" <div>\r\n "); EndContext(); BeginContext(2228, 72, false); #line 54 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.ActionLink("Edit", "Edit", new { id = rate.Customs_agentID }, null)); #line default #line hidden EndContext(); BeginContext(2300, 28, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(2329, 78, false); #line 55 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.ActionLink("Details", "Details", new { id = rate.Customs_agentID }, null)); #line default #line hidden EndContext(); BeginContext(2407, 28, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(2436, 76, false); #line 56 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.ActionLink("Delete", "Delete", new { id = rate.Customs_agentID }, null)); #line default #line hidden EndContext(); BeginContext(2512, 30, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 58 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" } else { #line default #line hidden BeginContext(2602, 51, true); WriteLiteral(" <div>\r\n "); EndContext(); BeginContext(2654, 78, false); #line 62 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" Write(Html.ActionLink("Details", "Details", new { id = rate.Customs_agentID }, null)); #line default #line hidden EndContext(); BeginContext(2732, 30, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 64 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" } #line default #line hidden BeginContext(2781, 34, true); WriteLiteral(" </td>\r\n </tr>\r\n"); EndContext(); #line 67 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" } #line default #line hidden BeginContext(2824, 10, true); WriteLiteral("</table>\r\n"); EndContext(); BeginContext(2834, 211, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("page-link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "daac8fe99b0948da993b6892ed26075c", async() => { } ); __CustomsBase_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::CustomsBase.TagHelpers.PageLinkTagHelper>(); __tagHelperExecutionContext.Add(__CustomsBase_TagHelpers_PageLinkTagHelper); #line 70 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" __CustomsBase_TagHelpers_PageLinkTagHelper.PageModel = Model.PageViewModel; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __CustomsBase_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __CustomsBase_TagHelpers_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "page-url-type", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 71 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" AddHtmlAttributeValue("", 2925, Model.FilterViewModel.SelectedfirstName, 2925, 42, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "page-url-sortorder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 72 "e:\Ваня\3 курс\Сеня\lab4\CustomsBase-4aebe980af02ee110a870088d1179829d5f2817f\CustomsBase\Views\Customs_agents\Index.cshtml" AddHtmlAttributeValue("", 3001, Model.SortViewModel.Current, 3001, 30, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); }