Beispiel #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(114, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 4 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"

            ViewData["Title"] = "Show";

#line default
#line hidden
            BeginContext(156, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(158, 63, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("h1", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f99acfc7617e7789146bee24bca3b89f146d55c25371", async() => {
                BeginContext(194, 22, false);
#line 8 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                Write(Model.First().Category);

#line default
#line hidden
                EndContext();
            }
                                                                        );
            __GuitarProjectWebsite_TagHelpers_IfTagHelper = CreateTagHelper <global::GuitarProjectWebsite.TagHelpers.IfTagHelper>();
            __tagHelperExecutionContext.Add(__GuitarProjectWebsite_TagHelpers_IfTagHelper);
#line 8 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
            __GuitarProjectWebsite_TagHelpers_IfTagHelper.Predicate = Model.ToList().Any();

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("asp-if", __GuitarProjectWebsite_TagHelpers_IfTagHelper.Predicate, 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(221, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
#line 10 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(258, 355, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f99acfc7617e7789146bee24bca3b89f146d55c27305", async() => {
                    BeginContext(285, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(291, 121, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f99acfc7617e7789146bee24bca3b89f146d55c27691", async() => {
                    }
                                                                                );
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardImageTagHelper>();
                    __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardImageTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    BeginWriteTagHelperAttribute();
                    WriteLiteral("data:image/jpeg;base64,");
#line 13 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                    WriteLiteral(Convert.ToBase64String(item.Image));

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Src = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("src", __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Src, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Position = global::BSolutions.Bocons.Enumerations.CardImagePosition.Bottom;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("bc-position", __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Position, 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(412, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(418, 186, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card-body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f99acfc7617e7789146bee24bca3b89f146d55c210163", async() => {
                        BeginContext(451, 27, true);
                        WriteLiteral("\r\n        <p>\r\n            ");
                        EndContext();
                        BeginContext(479, 16, false);
#line 16 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                        Write(item.Description);

#line default
#line hidden
                        EndContext();
                        BeginContext(495, 24, true);
                        WriteLiteral("\r\n        </p>\r\n        ");
                        EndContext();
                        BeginContext(519, 67, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f99acfc7617e7789146bee24bca3b89f146d55c211014", async() => {
                            BeginContext(560, 22, true);
                            WriteLiteral("Visit producer website");
                            EndContext();
                        }
                                                                                    );
                        __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Buttons.ButtonTagHelper>();
                        __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Buttons_ButtonTagHelper);
                        BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "href", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 18 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                        AddHtmlAttributeValue("", 528, item.Website, 528, 13, false);

#line default
#line hidden
                        EndAddHtmlAttributeValues(__tagHelperExecutionContext);
#line 18 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                        __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper.Button = true;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("bc-button", __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper.Button, 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(586, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __BSolutions_Bocons_Controls_Card_CardBodyTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardBodyTagHelper>();
                    __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardBodyTagHelper);
                    BeginWriteTagHelperAttribute();
#line 14 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
                    WriteLiteral(item.Name);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __BSolutions_Bocons_Controls_Card_CardBodyTagHelper.Title = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("bc-title", __BSolutions_Bocons_Controls_Card_CardBodyTagHelper.Title, 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(604, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __BSolutions_Bocons_Controls_Card_CardTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardTagHelper>();
                __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(613, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 21 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllProducers\Show.cshtml"
            }

#line default
#line hidden
        }
Beispiel #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(114, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 4 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"

            ViewData["Title"] = "Show";

#line default
#line hidden
            BeginContext(156, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(158, 63, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("h1", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133580585c39e2ae8b6a0990b5341e0c474c76e5380", async() => {
                BeginContext(194, 22, false);
#line 8 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                Write(Model.First().Category);

#line default
#line hidden
                EndContext();
            }
                                                                        );
            __GuitarProjectWebsite_TagHelpers_IfTagHelper = CreateTagHelper <global::GuitarProjectWebsite.TagHelpers.IfTagHelper>();
            __tagHelperExecutionContext.Add(__GuitarProjectWebsite_TagHelpers_IfTagHelper);
#line 8 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
            __GuitarProjectWebsite_TagHelpers_IfTagHelper.Predicate = Model.ToList().Any();

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("asp-if", __GuitarProjectWebsite_TagHelpers_IfTagHelper.Predicate, 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(221, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
#line 10 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(258, 4, true);
                WriteLiteral("    ");
                EndContext();
                BeginContext(262, 386, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133580585c39e2ae8b6a0990b5341e0c474c76e7420", async() => {
                    BeginContext(289, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(299, 120, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a133580585c39e2ae8b6a0990b5341e0c474c76e7811", async() => {
                    }
                                                                                );
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardImageTagHelper>();
                    __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardImageTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    BeginWriteTagHelperAttribute();
                    WriteLiteral("data:image/jpeg;base64,");
#line 13 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                    WriteLiteral(Convert.ToBase64String(item.Image));

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Src = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("src", __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Src, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                    __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Position = global::BSolutions.Bocons.Enumerations.CardImagePosition.Bottom;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("bc-position", __BSolutions_Bocons_Controls_Card_CardImageTagHelper.Position, 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(419, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(429, 206, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("card-body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133580585c39e2ae8b6a0990b5341e0c474c76e10294", async() => {
                        BeginContext(462, 35, true);
                        WriteLiteral("\r\n            <p>\r\n                ");
                        EndContext();
                        BeginContext(498, 16, false);
#line 16 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                        Write(item.Description);

#line default
#line hidden
                        EndContext();
                        BeginContext(514, 32, true);
                        WriteLiteral("\r\n            </p>\r\n            ");
                        EndContext();
                        BeginContext(546, 67, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133580585c39e2ae8b6a0990b5341e0c474c76e11166", async() => {
                            BeginContext(587, 22, true);
                            WriteLiteral("Visit producer website");
                            EndContext();
                        }
                                                                                    );
                        __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Buttons.ButtonTagHelper>();
                        __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Buttons_ButtonTagHelper);
                        BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "href", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 18 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                        AddHtmlAttributeValue("", 555, item.Website, 555, 13, false);

#line default
#line hidden
                        EndAddHtmlAttributeValues(__tagHelperExecutionContext);
#line 18 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                        __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper.Button = true;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("bc-button", __BSolutions_Bocons_Controls_Buttons_ButtonTagHelper.Button, 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(613, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __BSolutions_Bocons_Controls_Card_CardBodyTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardBodyTagHelper>();
                    __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardBodyTagHelper);
                    BeginWriteTagHelperAttribute();
#line 14 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
                    WriteLiteral(item.Name);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __BSolutions_Bocons_Controls_Card_CardBodyTagHelper.Title = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("bc-title", __BSolutions_Bocons_Controls_Card_CardBodyTagHelper.Title, 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(635, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __BSolutions_Bocons_Controls_Card_CardTagHelper = CreateTagHelper <global::BSolutions.Bocons.Controls.Card.CardTagHelper>();
                __tagHelperExecutionContext.Add(__BSolutions_Bocons_Controls_Card_CardTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(648, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 21 "C:\Users\Arthur\source\repos\GuitarProjectWebsite\GuitarProjectWebsite\Views\AllCategories\Show.cshtml"
            }

#line default
#line hidden
        }