public IActionResult GetImageUrl(string category)
        {
            string ImgUrl = PixabayAPI.GetPixabayUrl(category).Result;

            return(Redirect(ImgUrl));
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(68, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 4 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"

            ViewData["Title"] = "QuoteGen";

#line default
#line hidden
            BeginContext(114, 528, true);
            WriteLiteral(@"<div class=""jumbotron bg-light"">
    <div class=""container-fluid"">
        <h1 class=""display-4 text-center"">Quotes Art Generator</h1>
    </div>
</div>
<hr />
<div class=""row"">
    <div class=""col-md-2"">
        <div class=""btn-group"" style=""position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"">
            <button type=""button"" class=""btn btn-outline-primary dropdown-toggle hvr-float-shadow"" data-toggle=""dropdown"" aria-haspopup=""true"" aria-expanded=""false"">
                Category: <br /><b>");
            EndContext();
            BeginContext(643, 40, false);
#line 17 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"
            Write(Html.DisplayFor(model => model.CATEGORY));

#line default
#line hidden
            EndContext();
            BeginContext(683, 129, true);
            WriteLiteral("</b>\r\n            </button>\r\n            <div class=\"dropdown-menu\" style=\"height: auto;max-height: 200px;overflow-x: hidden;\">\r\n");
            EndContext();
#line 20 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"

            var Lst = ViewBag.data as List <string>;
            foreach (var item in Lst)
            {
#line default
#line hidden
                BeginContext(963, 48, true);
                WriteLiteral("                        <a class=\"dropdown-item\"");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 1011, "\"", 1044, 2);
                WriteAttributeValue("", 1018, "/Home/Index?category=", 1018, 21, true);
#line 24 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"
                WriteAttributeValue("", 1039, item, 1039, 5, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(1045, 1, true);
                WriteLiteral(">");
                EndContext();
                BeginContext(1047, 4, false);
#line 24 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"
                Write(item);

#line default
#line hidden
                EndContext();
                BeginContext(1051, 6, true);
                WriteLiteral("</a>\r\n");
                EndContext();
#line 25 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"
            }


#line default
#line hidden
            BeginContext(1099, 141, true);
            WriteLiteral("            </div>\r\n        </div>\r\n    </div>\r\n    <div class=\"co-sm-12 col-md-8\">\r\n        <div class=\"hvr-glow rounded\">\r\n            <img");
            EndContext();
            BeginWriteAttribute("src", " src=\"", 1240, "\"", 1294, 1);
#line 32 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"
            WriteAttributeValue("", 1246, PixabayAPI.GetPixabayUrl(Model.CATEGORY).Result, 1246, 48, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(1295, 157, true);
            WriteLiteral(" class=\"rounded swivelChair\" alt=\"pixabayImg\" style=\"position: relative; width: 100%;\">\r\n        </div>\r\n        <h3 class=\"quote text-white\">\r\n            \"");
            EndContext();
            BeginContext(1453, 37, false);
#line 35 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"
            Write(Html.DisplayFor(model => model.QUOTE));

#line default
#line hidden
            EndContext();
            BeginContext(1490, 183, true);
            WriteLiteral("\"\r\n        </h3>\r\n    </div>\r\n    <div class=\"col-md-2\">\r\n        <div class=\"btn-group\" style=\"position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);\">\r\n            ");
            EndContext();
            BeginContext(1673, 241, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "75fffecdf2f550a55bbcf9be4f6f3b8e7e0777519062", async() => {
                BeginContext(1834, 76, true);
                WriteLiteral("\r\n                <div class=\"text-center\">Generate next</div>\r\n            ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            BeginWriteTagHelperAttribute();
            WriteLiteral("Index?");
#line 40 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"
            WriteLiteral(Html.DisplayFor(model => model.CATEGORY));

#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);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1914, 75, true);
            WriteLiteral("\r\n        </div>\r\n    </div>\r\n<hr />\r\n<h5>\r\n    <br />\r\n    Author:\r\n    <a");
            EndContext();
            BeginWriteAttribute("href", " href=\"", 1989, "\"", 2059, 2);
            WriteAttributeValue("", 1996, "/Home/GetWikiUrl?author=", 1996, 24, true);
#line 49 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"
            WriteAttributeValue("", 2020, Html.DisplayFor(model => model.AUTHOR), 2020, 39, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(2060, 11, true);
            WriteLiteral(">\r\n        ");
            EndContext();
            BeginContext(2072, 38, false);
#line 50 "D:\IT Step\C#\QuotesArtGeneratorRepo\QuotesArtGenerator\QuoteArtGenerator\QuotesArtGenerator\QuotesArtGenerator\Views\Home\Index.cshtml"
            Write(Html.DisplayFor(model => model.AUTHOR));

#line default
#line hidden
            EndContext();
            BeginContext(2110, 29, true);
            WriteLiteral("\r\n    </a>\r\n</h5>\r\n</div>\r\n\r\n");
            EndContext();
            BeginContext(2238, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }