Exemplo n.º 1
0
        public IActionResult Index(string searchString, int?categoryId = null, short?page = 1)
        {
            ProductTypeSearchModel searchModel = new ProductTypeSearchModel
            {
                SearchString     = searchString,
                CategoryId       = categoryId,
                Status           = ProductTypeStatus.Active,
                ProductStatus    = ProductStatus.Active,
                HasActiveProduct = true
            };

            ViewData[GlobalViewBagKeys.ECommerceService] = eCommerce;
            return(View(new ProductsListViewModel
            {
                Products = eCommerce.GetProductTypesBy(searchModel, (page - 1) * recordsPerPage, recordsPerPage)
                           .Select(p => eCommerce.GetRepresentativeProduct(int.Parse(p.Id))),
                PagingInfo = new PagingInfo
                {
                    CurrentPage = (short)page,
                    RecordsPerPage = recordsPerPage,
                    TotalRecords = eCommerce.CountProductTypesBy(searchModel)
                },
                SearchModel = new ProductSearchModel
                {
                    SearchString = searchString,
                    CategoryId = categoryId
                }
            }));
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(50, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
            ECommerceService eCommerce = (ECommerceService)ViewData[GlobalViewBagKeys.ECommerceService];

#line default
#line hidden
            BeginContext(149, 309, true);
            WriteLiteral(@"
<div class=""table-responsive rounded"">
	<table class=""table table-striped table-bordered table-hover table-condensed table-sm table-secondary table-active"">
		<thead class=""thead-dark"">
			<tr>
				<th class=""w-25""></th>
				<th>Product type</th>
				<th>Seller</th>
			</tr>
		</thead>
		<tbody>
");
            EndContext();
#line 15 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
            string formAction = Url.Action("UpdateRequestDetail", "ProductType");

#line default
#line hidden
            BeginContext(535, 3, true);
            WriteLiteral("\t\t\t");
            EndContext();
#line 16 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
            foreach (ProductTypeUpdateRequestView updateRequest in Model)
            {
                ProductTypeView productType = eCommerce.GetProductTypeBy(int.Parse(updateRequest.ProductTypeId));
                ProductView     product     = eCommerce.GetRepresentativeProduct(int.Parse(productType.Id));

#line default
#line hidden
                BeginContext(801, 57, true);
                WriteLiteral("\t\t\t\t<tr class=\"productTypeUpdateRequestRow\">\r\n\t\t\t\t\t<td>\r\n");
                EndContext();
#line 22 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                if (product != null)
                {
#line default
#line hidden
                    BeginContext(896, 7, true);
                    WriteLiteral("\t\t\t\t\t\t\t");
                    EndContext();
                    BeginContext(903, 107, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4886239f74ef5e1d1f9b93f49e6ab6c50ce3998b9999", async() => {
                    }
                                                                                );
                    __ECommerce_UI_AdminSite_Infrastructure_ImageTagHelper = CreateTagHelper <global::ECommerce.UI.AdminSite.Infrastructure.ImageTagHelper>();
                    __tagHelperExecutionContext.Add(__ECommerce_UI_AdminSite_Infrastructure_ImageTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 24 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                    __ECommerce_UI_AdminSite_Infrastructure_ImageTagHelper.FileContent = product.RepresentativeImage;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("file-content", __ECommerce_UI_AdminSite_Infrastructure_ImageTagHelper.FileContent, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 24 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                    AddHtmlAttributeValue("", 982, product.ProductTypeName, 982, 24, 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(1010, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 25 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(1042, 7, true);
                    WriteLiteral("\t\t\t\t\t\t\t");
                    EndContext();
                    BeginContext(1049, 83, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4886239f74ef5e1d1f9b93f49e6ab6c50ce3998b12417", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 28 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                    AddHtmlAttributeValue("", 1111, productType.Name, 1111, 17, 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(1132, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 29 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                }

#line default
#line hidden
                BeginContext(1143, 33, true);
                WriteLiteral("\t\t\t\t\t</td>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t<h4>");
                EndContext();
                BeginContext(1176, 150, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4886239f74ef5e1d1f9b93f49e6ab6c50ce3998b14472", async() => {
                    BeginContext(1306, 16, false);
#line 32 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                    Write(productType.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_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-productTypeId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 32 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                WriteLiteral(productType.Id);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["productTypeId"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-productTypeId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["productTypeId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1326, 7, true);
                WriteLiteral("</h4>\r\n");
                EndContext();
#line 33 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"

                int categoryId = int.Parse(productType.CategoryId);

#line default
#line hidden
                BeginContext(1403, 24, true);
                WriteLiteral("\t\t\t\t\t\t\t<small>\r\n\t\t\t\t\t\t\t\t");
                EndContext();
                BeginContext(1428, 69, false);
#line 36 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                Write(await Component.InvokeAsync("CategoryBreadCrumb", new { categoryId }));

#line default
#line hidden
                EndContext();
                BeginContext(1497, 19, true);
                WriteLiteral("\r\n\t\t\t\t\t\t\t</small>\r\n");
                EndContext();
                BeginContext(1525, 33, true);
                WriteLiteral("\t\t\t\t\t</td>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t<h4>");
                EndContext();
                BeginContext(1558, 156, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4886239f74ef5e1d1f9b93f49e6ab6c50ce3998b18583", async() => {
                    BeginContext(1686, 24, false);
#line 41 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                    Write(updateRequest.SellerName);

#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_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-sellerId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 41 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                WriteLiteral(updateRequest.SellerId);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sellerId"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sellerId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sellerId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1714, 36, true);
                WriteLiteral("</h4>\r\n\t\t\t\t\t</td>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t");
                EndContext();
                BeginContext(1750, 296, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4886239f74ef5e1d1f9b93f49e6ab6c50ce3998b21702", async() => {
                    BeginContext(1790, 50, true);
                    WriteLiteral("\r\n\t\t\t\t\t\t\t<input name=\"productTypeId\" type=\"hidden\"");
                    EndContext();
                    BeginWriteAttribute("value", " value=\"", 1840, "\"", 1876, 1);
#line 45 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                    WriteAttributeValue("", 1848, updateRequest.ProductTypeId, 1848, 28, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1877, 48, true);
                    WriteLiteral(" />\r\n\t\t\t\t\t\t\t<input name=\"sellerId\" type=\"hidden\"");
                    EndContext();
                    BeginWriteAttribute("value", " value=\"", 1925, "\"", 1956, 1);
#line 46 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                    WriteAttributeValue("", 1933, updateRequest.SellerId, 1933, 23, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1957, 82, true);
                    WriteLiteral(" />\r\n\t\t\t\t\t\t\t<input type=\"submit\" value=\"Detail\" class=\"btn btn-primary\" />\r\n\t\t\t\t\t\t");
                    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);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "action", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 44 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
                AddHtmlAttributeValue("", 1764, formAction, 1764, 11, false);

#line default
#line hidden
                EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2046, 25, true);
                WriteLiteral("\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n");
                EndContext();
#line 51 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypeUpdateRequestsTable.cshtml"
            }

#line default
#line hidden
            BeginContext(2077, 29, true);
            WriteLiteral("\t\t</tbody>\r\n\t</table>\r\n</div>");
            EndContext();
        }
Exemplo n.º 3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(37, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
            ECommerceService eCommerce = (ECommerceService)ViewData[GlobalViewBagKeys.ECommerceService];

#line default
#line hidden
            BeginContext(136, 329, true);
            WriteLiteral(@"
<div class=""table-responsive rounded"">
	<table class=""table table-striped table-bordered table-hover table-condensed table-sm table-secondary table-active"">
		<thead class=""thead-dark"">
			<tr>
				<th class=""w-25""></th>
				<th>Name</th>
				<th>Date Modified</th>
				<th>Status</th>
			</tr>
		</thead>
		<tbody>
");
            EndContext();
#line 16 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
            string formAction = Url.Action("ChangeStatus", "ProductType");

#line default
#line hidden
            BeginContext(535, 3, true);
            WriteLiteral("\t\t\t");
            EndContext();
#line 17 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
            foreach (ProductTypeView productType in Model)
            {
                ProductView product = eCommerce.GetRepresentativeProduct(int.Parse(productType.Id));
                if (product == null)
                {
                    product = new ProductView
                    {
                        ProductTypeName = productType.Name,
                        ProductTypeId   = productType.Id
                    };
                }

#line default
#line hidden
                BeginContext(847, 44, true);
                WriteLiteral("\t\t\t\t<tr class=\"productTypeRow\">\r\n\t\t\t\t\t<td>\r\n");
                EndContext();
#line 30 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                if (product.RepresentativeImage != null)
                {
#line default
#line hidden
                    BeginContext(949, 7, true);
                    WriteLiteral("\t\t\t\t\t\t\t");
                    EndContext();
                    BeginContext(956, 107, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e5c9f4d67d46c2923a087e5a8636f17eed6dd70e10469", async() => {
                    }
                                                                                );
                    __ECommerce_UI_AdminSite_Infrastructure_ImageTagHelper = CreateTagHelper <global::ECommerce.UI.AdminSite.Infrastructure.ImageTagHelper>();
                    __tagHelperExecutionContext.Add(__ECommerce_UI_AdminSite_Infrastructure_ImageTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 32 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                    __ECommerce_UI_AdminSite_Infrastructure_ImageTagHelper.FileContent = product.RepresentativeImage;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("file-content", __ECommerce_UI_AdminSite_Infrastructure_ImageTagHelper.FileContent, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 32 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                    AddHtmlAttributeValue("", 1035, product.ProductTypeName, 1035, 24, 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(1063, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 33 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(1095, 7, true);
                    WriteLiteral("\t\t\t\t\t\t\t");
                    EndContext();
                    BeginContext(1102, 90, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e5c9f4d67d46c2923a087e5a8636f17eed6dd70e12851", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                    AddHtmlAttributeValue("", 1164, product.ProductTypeName, 1164, 24, 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(1192, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 37 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                }

#line default
#line hidden
                BeginContext(1203, 33, true);
                WriteLiteral("\t\t\t\t\t</td>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t<h4>");
                EndContext();
                BeginContext(1236, 164, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5c9f4d67d46c2923a087e5a8636f17eed6dd70e14887", async() => {
                    BeginContext(1373, 23, false);
#line 40 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                    Write(product.ProductTypeName);

#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_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-productTypeId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 40 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                WriteLiteral(product.ProductTypeId);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["productTypeId"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-productTypeId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["productTypeId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1400, 7, true);
                WriteLiteral("</h4>\r\n");
                EndContext();
#line 41 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"

                int categoryId = int.Parse(eCommerce.GetProductTypeBy(int.Parse(product.ProductTypeId)).CategoryId);

#line default
#line hidden
                BeginContext(1526, 24, true);
                WriteLiteral("\t\t\t\t\t\t\t<small>\r\n\t\t\t\t\t\t\t\t");
                EndContext();
                BeginContext(1551, 69, false);
#line 44 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                Write(await Component.InvokeAsync("CategoryBreadCrumb", new { categoryId }));

#line default
#line hidden
                EndContext();
                BeginContext(1620, 19, true);
                WriteLiteral("\r\n\t\t\t\t\t\t\t</small>\r\n");
                EndContext();
                BeginContext(1648, 89, true);
                WriteLiteral("\t\t\t\t\t</td>\r\n\t\t\t\t\t<td><input class=\"form-control\" type=\"date\" name=\"dateModified\" readonly");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 1737, "\"", 1793, 1);
#line 48 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                WriteAttributeValue("", 1745, productType.DateModified.ToString("yyyy-MM-dd"), 1745, 48, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(1794, 27, true);
                WriteLiteral(" /></td>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t");
                EndContext();
                BeginContext(1821, 277, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5c9f4d67d46c2923a087e5a8636f17eed6dd70e19576", async() => {
                    BeginContext(1862, 50, true);
                    WriteLiteral("\r\n\t\t\t\t\t\t\t<input name=\"productTypeId\" type=\"hidden\"");
                    EndContext();
                    BeginWriteAttribute("value", " value=\"", 1912, "\"", 1935, 1);
#line 51 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                    WriteAttributeValue("", 1920, productType.Id, 1920, 15, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1936, 12, true);
                    WriteLiteral(" />\r\n\t\t\t\t\t\t\t");
                    EndContext();
                    BeginContext(1948, 135, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("select", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5c9f4d67d46c2923a087e5a8636f17eed6dd70e20493", async() => {
                    }
                                                                                );
                    __ECommerce_UI_AdminSite_Infrastructure_EnumSelectListTagHelper = CreateTagHelper <global::ECommerce.UI.AdminSite.Infrastructure.EnumSelectListTagHelper>();
                    __tagHelperExecutionContext.Add(__ECommerce_UI_AdminSite_Infrastructure_EnumSelectListTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
#line 52 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                    __ECommerce_UI_AdminSite_Infrastructure_EnumSelectListTagHelper.EnumType = typeof(ProductTypeStatus);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("enum-type", __ECommerce_UI_AdminSite_Infrastructure_EnumSelectListTagHelper.EnumType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 52 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                    __ECommerce_UI_AdminSite_Infrastructure_EnumSelectListTagHelper.Selected = productType.Status;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("selected", __ECommerce_UI_AdminSite_Infrastructure_EnumSelectListTagHelper.Selected, 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(2083, 8, true);
                    WriteLiteral("\r\n\t\t\t\t\t\t");
                    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);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "action", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 50 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
                AddHtmlAttributeValue("", 1835, formAction, 1835, 11, false);

#line default
#line hidden
                EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2098, 25, true);
                WriteLiteral("\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n");
                EndContext();
#line 56 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.AdminSite\Views\Shared\DisplayTemplates\ProductTypesTable.cshtml"
            }

#line default
#line hidden
            BeginContext(2129, 505, true);
            WriteLiteral(@"		</tbody>
	</table>
</div>

<script type=""text/javascript"">
	//change user status

	$('.submitOnChange').change(function () {
		var $form = $(this).closest('form');
		$.ajax({
			url: $form.attr('action'),
			type: $form.attr('method'),
			data: $form.serialize(),
			success: function (result) {
				if (result != '')
					alert(result);
			},
			error: function (result) {
				alert('something went wrong while changing product type status:\n' + result);
			}
		});
	});
</script>");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(37, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
            ECommerceService eCommerce = (ECommerceService)ViewData[GlobalViewBagKeys.ECommerceService];

#line default
#line hidden
            BeginContext(137, 288, true);
            WriteLiteral(@"
<div class=""table-responsive rounded"">
	<table class=""table table-striped table-bordered table-hover table-condensed table-sm table-secondary table-active"">
		<thead class=""thead-dark"">
			<tr>
				<th class=""w-25""></th>
				<th>Product Type</th>
			</tr>
		</thead>
		<tbody>
");
            EndContext();
#line 14 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
            foreach (ProductTypeView productType in Model)
            {
                ProductView product = eCommerce.GetRepresentativeProduct(int.Parse(productType.Id));
                if (product == null)
                {
                    product = new ProductView
                    {
                        ProductTypeName = productType.Name,
                        ProductTypeId   = productType.Id
                    };
                }

#line default
#line hidden
                BeginContext(737, 44, true);
                WriteLiteral("\t\t\t\t<tr class=\"productTypeRow\">\r\n\t\t\t\t\t<td>\r\n");
                EndContext();
#line 27 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                if (product.RepresentativeImage != null)
                {
#line default
#line hidden
                    BeginContext(837, 6, true);
                    WriteLiteral("\t\t\t\t\t\t");
                    EndContext();
                    BeginContext(843, 107, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c16fd342e33c31a658c5b787772e58cd3a8d376e8397", async() => {
                    }
                                                                                );
                    __ECommerce_UI_MVC_Infrastructure_ImageTagHelper = CreateTagHelper <global::ECommerce.UI.MVC.Infrastructure.ImageTagHelper>();
                    __tagHelperExecutionContext.Add(__ECommerce_UI_MVC_Infrastructure_ImageTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 29 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                    __ECommerce_UI_MVC_Infrastructure_ImageTagHelper.FileContent = product.RepresentativeImage;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("file-content", __ECommerce_UI_MVC_Infrastructure_ImageTagHelper.FileContent, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 29 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                    AddHtmlAttributeValue("", 922, product.ProductTypeName, 922, 24, 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(950, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 30 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(979, 6, true);
                    WriteLiteral("\t\t\t\t\t\t");
                    EndContext();
                    BeginContext(985, 90, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c16fd342e33c31a658c5b787772e58cd3a8d376e10735", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 33 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                    AddHtmlAttributeValue("", 1047, product.ProductTypeName, 1047, 24, 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(1075, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 34 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                }

#line default
#line hidden
                BeginContext(1085, 6, true);
                WriteLiteral("\t\t\t\t\t\t");
                EndContext();
                BeginContext(1091, 151, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c16fd342e33c31a658c5b787772e58cd3a8d376e12726", async() => {
                    BeginContext(1232, 6, true);
                    WriteLiteral("Choose");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                BeginWriteTagHelperAttribute();
#line 35 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                WriteLiteral(ViewBag.Action);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-action", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 35 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                WriteLiteral(ViewBag.Controller);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-controller", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-productTypeId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 35 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                WriteLiteral(product.ProductTypeId);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["productTypeId"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-productTypeId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["productTypeId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1242, 35, true);
                WriteLiteral("\r\n\t\t\t\t\t</td>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t<h4>");
                EndContext();
                BeginContext(1278, 23, false);
#line 38 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                Write(product.ProductTypeName);

#line default
#line hidden
                EndContext();
                BeginContext(1301, 350, true);
                WriteLiteral(@"</h4>
						<p>
							descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions descriptions
						</p>
");
                EndContext();
#line 42 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"

                int categoryId = int.Parse(eCommerce.GetProductTypeBy(int.Parse(product.ProductTypeId)).CategoryId);

#line default
#line hidden
                BeginContext(1771, 24, true);
                WriteLiteral("\t\t\t\t\t\t\t<small>\r\n\t\t\t\t\t\t\t\t");
                EndContext();
                BeginContext(1796, 69, false);
#line 45 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
                Write(await Component.InvokeAsync("CategoryBreadCrumb", new { categoryId }));

#line default
#line hidden
                EndContext();
                BeginContext(1865, 19, true);
                WriteLiteral("\r\n\t\t\t\t\t\t\t</small>\r\n");
                EndContext();
                BeginContext(1893, 23, true);
                WriteLiteral("\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n");
                EndContext();
#line 50 "C:\Users\hando\Desktop\ECommerce\ECommerce.UI.MVC\Views\Shared\DisplayTemplates\SelectProductTypeTable.cshtml"
            }

#line default
#line hidden
            BeginContext(1922, 29, true);
            WriteLiteral("\t\t</tbody>\r\n\t</table>\r\n</div>");
            EndContext();
        }