Example #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(46, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"

            ViewData["Title"] = "Index";
            Layout            = "~/Views/Shared/_UserPagesLayout.cshtml";

#line default
#line hidden
#line 7 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
            if (User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(178, 18, true);
                WriteLiteral("    <h4>\r\n        ");
                EndContext();
                BeginContext(196, 46, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "66e24641556d41f6aca84510d3e17825", async() => {
                    BeginContext(219, 19, true);
                    WriteLiteral("Catalogar nova obra");
                    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_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(242, 13, true);
                WriteLiteral("\r\n    </h4>\r\n");
                EndContext();
#line 12 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(258, 92, true);
            WriteLiteral("<br />\r\n<div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12\" style=\"margin-bottom: 100px\">\r\n");
            EndContext();
#line 15 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(391, 209, true);
                WriteLiteral("        <div class=\"col-xs-4 col-sm-4 col-md-4 col-lg-4\">\r\n            <div class=\"card\" style=\"width: 250px; border: solid; border-color: aliceblue; border-radius: 5px; margin-bottom: 30px\">\r\n                ");
                EndContext();
                BeginContext(600, 548, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "441abaae88ff487f8b9bb3e08a5098b4", async() => {
                    BeginContext(652, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 20 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"

                    var imgSrc = "/images/sem imagem.jpg";
                    if (item.AvatarImage != null)
                    {
                        var base64 = Convert.ToBase64String(item.AvatarImage);
                        imgSrc     = String.Format("data:image/gif;base64,{0}", base64);
                    }


#line default
#line hidden
                    BeginContext(1048, 24, true);
                    WriteLiteral("                    <img");
                    EndContext();
                    BeginWriteAttribute("src", " src=\"", 1072, "\"", 1085, 1);
#line 28 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                    WriteAttributeValue("", 1078, imgSrc, 1078, 7, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(1086, 58, true);
                    WriteLiteral(" style=\"width: 200px; height: 200px;\" />\r\n                ");
                    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-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 19 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                WriteLiteral(item.BookID);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1148, 121, true);
                WriteLiteral("\r\n                <div class=\"card-body\" style=\"margin:5px;\">\r\n                    <h5 class=\"card-title text-center\"><b>");
                EndContext();
                BeginContext(1270, 44, false);
#line 31 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.TitleMain));

#line default
#line hidden
                EndContext();
                BeginContext(1314, 90, true);
                WriteLiteral("</b></h5>\r\n                    <p class=\"card-author text-center\" style=\"font-size: 12px\">");
                EndContext();
                BeginContext(1405, 42, false);
#line 32 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Authors));

#line default
#line hidden
                EndContext();
                BeginContext(1447, 87, true);
                WriteLiteral("</p>\r\n                    <p class=\"card-abstract text-center\" style=\"font-size: 10px\">");
                EndContext();
                BeginContext(1535, 43, false);
#line 33 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Abstract));

#line default
#line hidden
                EndContext();
                BeginContext(1578, 66, true);
                WriteLiteral("</p>\r\n                    <div class=\"card-options text-center\">\r\n");
                EndContext();
#line 35 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                if (User.IsInRole("Admin"))
                {
#line default
#line hidden
                    BeginContext(1725, 28, true);
                    WriteLiteral("                            ");
                    EndContext();
                    BeginContext(1753, 115, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b8dfc0803e8f4457b318f6e57443b55e", async() => {
                        BeginContext(1802, 62, true);
                        WriteLiteral("<i class=\"fa fa-pencil-square-o fa-2x\" aria-hidden=\"true\"></i>");
                        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);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 37 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                    WriteLiteral(item.BookID);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1868, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 38 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(1897, 28, true);
                WriteLiteral("                        <div");
                EndContext();
                BeginWriteAttribute("bookId", " bookId=\"", 1925, "\"", 1946, 1);
#line 39 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                WriteAttributeValue("", 1934, item.BookID, 1934, 12, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(1947, 64, true);
                WriteLiteral(" class=\"btnLike\" style=\"display: inline-block;cursor:pointer\"><i");
                EndContext();
                BeginWriteAttribute("class", " class=\"", 2011, "\"", 2097, 3);
                WriteAttributeValue("", 2019, "fa", 2019, 2, true);
#line 39 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                WriteAttributeValue(" ", 2021, ViewBag.BookLikes.Contains(item.BookID) ? "fa-heart": "fa-heart-o", 2022, 69, false);

#line default
#line hidden
                WriteAttributeValue(" ", 2091, "fa-2x", 2092, 6, true);
                EndWriteAttribute();
                BeginContext(2098, 102, true);
                WriteLiteral(" aria-hidden=\"true\" style=\"color: red\"></i></div>\r\n                        <p style=\"font-size: 8px;\">");
                EndContext();
                BeginContext(2201, 22, false);
#line 40 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                Write(ViewBag.CountBookLikes);

#line default
#line hidden
                EndContext();
                BeginContext(2223, 6, true);
                WriteLiteral("</p>\r\n");
                EndContext();
                BeginContext(2371, 28, true);
                WriteLiteral("                        <div");
                EndContext();
                BeginWriteAttribute("bookId", " bookId=\"", 2399, "\"", 2420, 1);
#line 42 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                WriteAttributeValue("", 2408, item.BookID, 2408, 12, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(2421, 68, true);
                WriteLiteral(" class=\"btnFavorite\" style=\"display: inline-block;cursor:pointer\"><i");
                EndContext();
                BeginWriteAttribute("class", " class=\"", 2489, "\"", 2577, 3);
                WriteAttributeValue("", 2497, "fa", 2497, 2, true);
#line 42 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                WriteAttributeValue(" ", 2499, ViewBag.FavoriteBooks.Contains(item.BookID) ? "fa-star": "fa-star-o", 2500, 71, false);

#line default
#line hidden
                WriteAttributeValue(" ", 2571, "fa-2x", 2572, 6, true);
                EndWriteAttribute();
                BeginContext(2578, 56, true);
                WriteLiteral(" aria-hidden=\"true\" style=\"color: #2097a8;\"></i></div>\r\n");
                EndContext();
#line 43 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                if (User.IsInRole("Admin"))
                {
#line default
#line hidden
                    BeginContext(2715, 28, true);
                    WriteLiteral("                            ");
                    EndContext();
                    BeginContext(2743, 109, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e183022b41844909af485b47c3f658bc", async() => {
                        BeginContext(2794, 54, true);
                        WriteLiteral("<i class=\"fa fa-trash-o fa-2x\" aria-hidden=\"true\"></i>");
                        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_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 45 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                    WriteLiteral(item.BookID);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2852, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 46 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(2881, 88, true);
                WriteLiteral("                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n");
                EndContext();
#line 51 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2976, 10, true);
            WriteLiteral("</div>\r\n\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(3003, 150, true);
                WriteLiteral("\r\n    <script>\r\n    $(\".btnLike\").on(\"click\", function () {\r\n        obj = $(this);\r\n        $.ajax({\r\n            method: \"POST\",\r\n            url: \"");
                EndContext();
                BeginContext(3154, 30, false);
#line 60 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                Write(Url.Action("Like", "BookLikes"));

#line default
#line hidden
                EndContext();
                BeginContext(3184, 288, true);
                WriteLiteral(@""",
            dataType: ""json"",
            data: { id: obj.attr(""bookId"") },
            success: function (data) {
                //$.notify(data, ""success"");
                obj.css({ ""color"": ""red"" })
                location.reload();
            }
        });
    });

");
                EndContext();
                BeginContext(3924, 141, true);
                WriteLiteral("\r\n     $(\".btnFavorite\").on(\"click\", function () {\r\n        obj = $(this);\r\n        $.ajax({\r\n            method: \"POST\",\r\n            url: \"");
                EndContext();
                BeginContext(4066, 38, false);
#line 90 "C:\Users\cesar\Documents\GitHub\Novateca\Novateca.Web\Novateca.Web\Views\Books\Index.cshtml"
                Write(Url.Action("Favorite", "FavoriteBooks"));

#line default
#line hidden
                EndContext();
                BeginContext(4104, 306, true);
                WriteLiteral(@""",
            dataType: ""json"",
            data: { id: obj.attr(""bookId"") },
            success: function (data) {
                //$.notify(data, ""success"");
                obj.css({ ""color"": ""yellow"" })
                location.reload();
            }
        });
    });

    </script>
");
                EndContext();
            }
                          );
            BeginContext(4413, 92, true);
            WriteLiteral("\r\n<style>\r\n    .fa-2x {\r\n        font-size: 1.7em;\r\n        color: #02223e;\r\n    }\r\n</style>");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(47, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"

            ViewData["Title"] = "Patients on File";
            Layout            = "_Layout";

#line default
#line hidden
            BeginContext(126, 6, true);
            WriteLiteral("\r\n<h1>");
            EndContext();
            BeginContext(133, 17, false);
#line 8 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
            Write(ViewData["Title"]);

#line default
#line hidden
            EndContext();
            BeginContext(150, 7, true);
            WriteLiteral("</h1>\r\n");
            EndContext();
#line 9 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
            if (User.IsInRole("administrators") || User.IsInRole("medicalStaff"))
            {
#line default
#line hidden
                BeginContext(240, 25, true);
                WriteLiteral("        <p>\r\n            ");
                EndContext();
                BeginContext(265, 37, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "010da46ef5a576dcc1461bf3fabf02b6d182c22d5748", async() => {
                    BeginContext(288, 10, true);
                    WriteLiteral("Create New");
                    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_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(302, 16, true);
                WriteLiteral("\r\n        </p>\r\n");
                EndContext();
#line 14 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(325, 183, true);
            WriteLiteral("    <table class=\"table\">\r\n        <thead>\r\n            <tr>\r\n                <th>\r\n                    Patient Name\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(509, 43, false);
#line 22 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Address));

#line default
#line hidden
            EndContext();
            BeginContext(552, 67, true);
            WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(620, 47, false);
#line 25 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.DateOfBirth));

#line default
#line hidden
            EndContext();
            BeginContext(667, 67, true);
            WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(735, 47, false);
#line 28 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.DateOfDeath));

#line default
#line hidden
            EndContext();
            BeginContext(782, 67, true);
            WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(850, 45, false);
#line 31 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.HomePhone));

#line default
#line hidden
            EndContext();
            BeginContext(895, 106, true);
            WriteLiteral("\r\n                </th>\r\n                <th></th>\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n");
            EndContext();
#line 37 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(1058, 60, true);
                WriteLiteral("            <tr>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1118, 246, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "010da46ef5a576dcc1461bf3fabf02b6d182c22d9750", async() => {
                    BeginContext(1270, 43, false);
#line 41 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.LastName));

#line default
#line hidden
                    EndContext();
                    BeginContext(1313, 2, true);
                    WriteLiteral(", ");
                    EndContext();
                    BeginContext(1316, 44, false);
#line 41 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.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.Controller = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-patientId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 41 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                WriteLiteral(item.PatientId);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["patientId"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-patientId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["patientId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 41 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                WriteLiteral(item.FirstName);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["firstName"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-firstName", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["firstName"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 41 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                WriteLiteral(item.LastName);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["lastName"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-lastName", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["lastName"], 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(1364, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1432, 42, false);
#line 44 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Address));

#line default
#line hidden
                EndContext();
                BeginContext(1474, 47, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n");
                EndContext();
#line 47 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"

                string dateOfBirth = "";
                if (item.DateOfBirth.HasValue)
                {
                    dateOfBirth = item.DateOfBirth.Value.ToString("dd MMM yyyy");
                }


#line default
#line hidden
                BeginContext(1819, 20, true);
                WriteLiteral("                    ");
                EndContext();
                BeginContext(1840, 41, false);
#line 54 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                Write(Html.DisplayFor(modelItem => dateOfBirth));

#line default
#line hidden
                EndContext();
                BeginContext(1881, 47, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n");
                EndContext();
#line 57 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"

                string dateOfDeath = "";
                if (item.DateOfDeath.HasValue)
                {
                    dateOfDeath = item.DateOfDeath.Value.ToString("dd MMM yyyy");
                }


#line default
#line hidden
                BeginContext(2226, 20, true);
                WriteLiteral("                    ");
                EndContext();
                BeginContext(2247, 41, false);
#line 64 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                Write(Html.DisplayFor(modelItem => dateOfDeath));

#line default
#line hidden
                EndContext();
                BeginContext(2288, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(2356, 44, false);
#line 67 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.HomePhone));

#line default
#line hidden
                EndContext();
                BeginContext(2400, 25, true);
                WriteLiteral("\r\n                </td>\r\n");
                EndContext();
#line 69 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                if (User.IsInRole("administrators") || User.IsInRole("medicalStaff"))
                {
#line default
#line hidden
                    BeginContext(2532, 50, true);
                    WriteLiteral("                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(2582, 60, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "010da46ef5a576dcc1461bf3fabf02b6d182c22d17847", async() => {
                        BeginContext(2634, 4, true);
                        WriteLiteral("Edit");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 72 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                    WriteLiteral(item.PatientId);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2642, 28, true);
                    WriteLiteral(" |\r\n                        ");
                    EndContext();
                    BeginContext(2670, 64, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "010da46ef5a576dcc1461bf3fabf02b6d182c22d20223", async() => {
                        BeginContext(2724, 6, true);
                        WriteLiteral("Delete");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 73 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                    WriteLiteral(item.PatientId);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2734, 30, true);
                    WriteLiteral("|\r\n                    </td>\r\n");
                    EndContext();
#line 75 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(2783, 42, true);
                WriteLiteral("                <td>\r\n                    ");
                EndContext();
                BeginContext(2825, 66, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "010da46ef5a576dcc1461bf3fabf02b6d182c22d22901", async() => {
                    BeginContext(2880, 7, true);
                    WriteLiteral("Details");
                    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_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 77 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
                WriteLiteral(item.PatientId);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2891, 44, true);
                WriteLiteral("\r\n                </td>\r\n            </tr>\r\n");
                EndContext();
#line 80 "C:\Users\arshd\Downloads\ABPatients\ABPatients\ABPatients\Views\ABPatient\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2950, 32, true);
            WriteLiteral("        </tbody>\r\n    </table>\r\n");
            EndContext();
        }
Example #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(79, 330, true);
            WriteLiteral(@"

<link href=""https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"" rel=""stylesheet"">


<div class=""container"">
    <div class=""row"">
        <div class=""col-md-12 text-center "">
            <div class=""panel"">
                <div class=""userprofile social "">
                    <div class=""userpic""> <img");
            EndContext();
            BeginWriteAttribute("src", " src=\"", 409, "\"", 430, 1);
#line 13 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            WriteAttributeValue("", 415, Model.ImageUrl, 415, 15, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(431, 97, true);
            WriteLiteral(" alt=\"\" class=\"userpicimg\" style=\"height:100%;\"> </div>\n                    <h3 class=\"username\">");
            EndContext();
            BeginContext(529, 15, false);
#line 14 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.FirstName);

#line default
#line hidden
            EndContext();
            BeginContext(544, 1, true);
            WriteLiteral(" ");
            EndContext();
            BeginContext(546, 14, false);
#line 14 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.LastName);

#line default
#line hidden
            EndContext();
            BeginContext(560, 29, true);
            WriteLiteral("</h3>\n                    <p>");
            EndContext();
            BeginContext(591, 13, false);
#line 15 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.Country);

#line default
#line hidden
            EndContext();
            BeginContext(605, 1, true);
            WriteLiteral(" ");
            EndContext();
            BeginContext(608, 10, false);
#line 15 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.City);

#line default
#line hidden
            EndContext();
            BeginContext(619, 289, true);
            WriteLiteral(@"</p>
                </div>
                <div class=""col-md-12 border-top border-bottom"">
                    <ul class=""nav nav-pills pull-left countlist"" role=""tablist"">
                        <li role=""presentation"">
                            <h3>
                                ");
            EndContext();
            BeginContext(909, 19, false);
#line 21 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.BalanceFormat);

#line default
#line hidden
            EndContext();
            BeginContext(928, 238, true);
            WriteLiteral("<br>\n                                <small>Balance</small>\n                            </h3>\n                        </li>\n                        <li role=\"presentation\">\n                            <h3>\n                                ");
            EndContext();
            BeginContext(1167, 16, false);
#line 27 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.OrderCount);

#line default
#line hidden
            EndContext();
            BeginContext(1183, 244, true);
            WriteLiteral("<br>\n                                <small>Orders placed</small>\n                            </h3>\n                        </li>\n                        <li role=\"presentation\">\n                            <h3>\n                                ");
            EndContext();
            BeginContext(1428, 40, false);
#line 33 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.MemberSince.ToString("dd/MM/yyyy"));

#line default
#line hidden
            EndContext();
            BeginContext(1468, 155, true);
            WriteLiteral("<br>\n                                <small>Member since</small>\n                            </h3>\n                        </li>\n                    </ul>\n");
            EndContext();
#line 38 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            if (User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(1693, 24, true);
                WriteLiteral("                        ");
                EndContext();
                BeginContext(1717, 128, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3db9d2e2260b601ae690e6a60cf29b9c7d16ea379329", async() => {
                    BeginContext(1805, 36, true);
                    WriteLiteral("Settings <i class=\"fas fa-cogs\"></i>");
                    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.Action = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-userId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 40 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                WriteLiteral(Model.Id);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["userId"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-userId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["userId"], 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(1845, 1, true);
                WriteLiteral("\n");
                EndContext();
#line 41 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(1915, 24, true);
                WriteLiteral("                        ");
                EndContext();
                BeginContext(1939, 99, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3db9d2e2260b601ae690e6a60cf29b9c7d16ea3712109", async() => {
                    BeginContext(1998, 36, true);
                    WriteLiteral("Settings <i class=\"fas fa-cogs\"></i>");
                    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.Action = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2038, 1, true);
                WriteLiteral("\n");
                EndContext();
#line 45 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            }

#line default
#line hidden
            BeginContext(2061, 295, true);
            WriteLiteral(@"                </div>
                <div class=""clearfix"" style=""background-color:#f8f8f8""></div>
            </div>
        </div>
        <!-- /.col-md-12 -->
        <div class=col-md-8>
            <div clas=""panel panel-default"">
                <p style=""color:green"">Latest orders</p>
");
            EndContext();
#line 54 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            if (Model.OrderCount == 0)
            {
#line default
#line hidden
                BeginContext(2417, 96, true);
                WriteLiteral("                    <p style=\"color:green\">It looks like you havn\'t ordered anything yet...</p>\n");
                EndContext();
#line 57 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            }

#line default
#line hidden
            BeginContext(2531, 16, true);
            WriteLiteral("                ");
            EndContext();
#line 58 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            foreach (var item in Model.LatestOrders)
            {
#line default
#line hidden
                BeginContext(2606, 458, true);
                WriteLiteral(@"                    <div class=""col-md-8 col-sm-12 pull-left posttimeline"">
                        <div class=""panel-group"" id=""accordion"">
                            <div class=""panel panel-default"">
                                <div class=""panel-heading"" style=""background-color: rgba(248,248,248,0.7)"">
                                    <h4 class=""panel-title"">
                                        <p style=""color:rgb(62, 80, 89)"">Order Total: ");
                EndContext();
                BeginContext(3066, 21, false);
#line 65 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                Write(item.OrderTotalFormat);

#line default
#line hidden
                EndContext();
                BeginContext(3088, 145, true);
                WriteLiteral("</p>\n                                        <div>\n                                            <a data-toggle=\"collapse\" data-parent=\"#accordion\"");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 3233, "\"", 3269, 2);
                WriteAttributeValue("", 3240, "#collapse-", 3240, 10, true);
#line 67 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                WriteAttributeValue("", 3250, item.GetHashCode(), 3250, 19, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(3270, 271, true);
                WriteLiteral(@">
                                                Details
                                            </a>
                                        </div>
                                    </h4>
                                </div>
                                <div");
                EndContext();
                BeginWriteAttribute("id", " id=\"", 3541, "\"", 3574, 2);
                WriteAttributeValue("", 3546, "collapse-", 3546, 9, true);
#line 73 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                WriteAttributeValue("", 3555, item.GetHashCode(), 3555, 19, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(3575, 794, true);
                WriteLiteral(@" class=""panel-collapse collapse"">
                                    <div class=""panel-body"">
                                        <table class=""table table-bordered table-striped table-hover table-dark"">
                                            <thead>
                                                <tr>
                                                    <th>Selected amount</th>
                                                    <th>Product</th>
                                                    <th class=""text-right"">Price</th>
                                                    <th class=""text-right"">Subtotal</th>
                                                </tr>
                                            </thead>
                                            <tbody>
");
                EndContext();
#line 85 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                foreach (var line in item.OrderLines)
                {
#line default
#line hidden
                    BeginContext(4506, 137, true);
                    WriteLiteral("                                                    <tr>\n                                                        <td class=\"text-center\">");
                    EndContext();
                    BeginContext(4644, 11, false);
#line 88 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                    Write(line.Amount);

#line default
#line hidden
                    EndContext();
                    BeginContext(4655, 84, true);
                    WriteLiteral("</td>\n                                                        <td class=\"text-left\">");
                    EndContext();
                    BeginContext(4739, 115, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3db9d2e2260b601ae690e6a60cf29b9c7d16ea3718924", async() => {
                        BeginContext(4835, 14, false);
#line 89 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                        Write(line.Food.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);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 89 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                    WriteLiteral(line.Food.Id);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(4854, 85, true);
                    WriteLiteral("</td>\n                                                        <td class=\"text-right\">");
                    EndContext();
                    BeginContext(4941, 67, false);
#line 90 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                    Write(line.Price.ToString("c", CultureInfo.CreateSpecificCulture("en-US")));

#line default
#line hidden
                    EndContext();
                    BeginContext(5009, 146, true);
                    WriteLiteral("</td>\n                                                        <td class=\"text-right\">\n                                                            ");
                    EndContext();
                    BeginContext(5157, 83, false);
#line 92 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                    Write((line.Amount * line.Price).ToString("c", CultureInfo.CreateSpecificCulture("en-US")));

#line default
#line hidden
                    EndContext();
                    BeginContext(5241, 121, true);
                    WriteLiteral("\n                                                        </td>\n                                                    </tr>\n");
                    EndContext();
#line 95 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                }

#line default
#line hidden
                BeginContext(5412, 389, true);
                WriteLiteral(@"                                            </tbody>
                                            <tfoot>
                                                <tr>
                                                    <td colspan=""3"" class=""text-right"">Total:</td>
                                                    <td class=""text-right"">
                                                        ");
                EndContext();
                BeginContext(5803, 21, false);
#line 101 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                Write(item.OrderTotalFormat);

#line default
#line hidden
                EndContext();
                BeginContext(5825, 391, true);
                WriteLiteral(@"
                                                    </td>
                                                </tr>
                                            </tfoot>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div> 
                    </div>
");
                EndContext();
#line 111 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            }

#line default
#line hidden
            BeginContext(6234, 16, true);
            WriteLiteral("                ");
            EndContext();
#line 112 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            if (Model.OrderCount > Model.LatestOrders.Count())
            {
#line default
#line hidden
#line 114 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                if (User.IsInRole("Admin"))
                {
#line default
#line hidden
                    BeginContext(6389, 47, true);
                    WriteLiteral("                        <a class=\"btn btn-info\"");
                    EndContext();
                    BeginWriteAttribute("href", " href=\"", 6436, "\"", 6474, 2);
                    WriteAttributeValue("", 6443, "/Order/Archive/page-1/", 6443, 22, true);
#line 116 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                    WriteAttributeValue("", 6465, Model.Id, 6465, 9, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(6475, 10, true);
                    WriteLiteral(">More</a>\n");
                    EndContext();
#line 117 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(6554, 87, true);
                    WriteLiteral("                        <a class=\"btn btn-info\" href=\"/Order/Archive/page-1\" >More</a>\n");
                    EndContext();
#line 121 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                }

#line default
#line hidden
#line 121 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            }

#line default
#line hidden
            BeginContext(6681, 291, true);
            WriteLiteral(@"            </div>
        </div>
        <div class=""col-md-4 col-sm-12 pull-right"">
            <div class=""panel panel-default"">
                <div class=""panel-heading"">
                    <h1 class=""page-header small"">Personal Details</h1>
                    <p class=""small"">Name: ");
            EndContext();
            BeginContext(6973, 15, false);
#line 129 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.FirstName);

#line default
#line hidden
            EndContext();
            BeginContext(6988, 1, true);
            WriteLiteral(" ");
            EndContext();
            BeginContext(6990, 14, false);
#line 129 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.LastName);

#line default
#line hidden
            EndContext();
            BeginContext(7004, 49, true);
            WriteLiteral("</p>\n                    <p class=\"small\">Email: ");
            EndContext();
            BeginContext(7054, 11, false);
#line 130 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.Email);

#line default
#line hidden
            EndContext();
            BeginContext(7065, 48, true);
            WriteLiteral("</p>\n                    <p class=\"small\">Role: ");
            EndContext();
            BeginContext(7114, 10, false);
#line 131 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.Role);

#line default
#line hidden
            EndContext();
            BeginContext(7124, 5, true);
            WriteLiteral("</p>\n");
            EndContext();
#line 132 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            if (!string.IsNullOrEmpty(Model.PhoneNumber))
            {
#line default
#line hidden
                BeginContext(7217, 56, true);
                WriteLiteral("                        <p class=\"small\">Phone number : ");
                EndContext();
                BeginContext(7274, 17, false);
#line 134 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                Write(Model.PhoneNumber);

#line default
#line hidden
                EndContext();
                BeginContext(7291, 5, true);
                WriteLiteral("</p>\n");
                EndContext();
#line 135 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            }

#line default
#line hidden
            BeginContext(7318, 46, true);
            WriteLiteral("                    <p class=\"small\">Country: ");
            EndContext();
            BeginContext(7365, 13, false);
#line 136 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.Country);

#line default
#line hidden
            EndContext();
            BeginContext(7378, 48, true);
            WriteLiteral("</p>\n                    <p class=\"small\">City: ");
            EndContext();
            BeginContext(7427, 10, false);
#line 137 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            Write(Model.City);

#line default
#line hidden
            EndContext();
            BeginContext(7437, 5, true);
            WriteLiteral("</p>\n");
            EndContext();
#line 138 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            if (!string.IsNullOrEmpty(Model.AddressLine1))
            {
#line default
#line hidden
                BeginContext(7531, 52, true);
                WriteLiteral("                        <p class=\"small\">Address 1: ");
                EndContext();
                BeginContext(7584, 18, false);
#line 140 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                Write(Model.AddressLine1);

#line default
#line hidden
                EndContext();
                BeginContext(7602, 5, true);
                WriteLiteral("</p>\n");
                EndContext();
#line 141 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            }

#line default
#line hidden
            BeginContext(7629, 20, true);
            WriteLiteral("                    ");
            EndContext();
#line 142 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            if (!string.IsNullOrEmpty(Model.AddressLine2))
            {
#line default
#line hidden
                BeginContext(7718, 52, true);
                WriteLiteral("                        <p class=\"small\">Address 2: ");
                EndContext();
                BeginContext(7771, 18, false);
#line 144 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                Write(Model.AddressLine2);

#line default
#line hidden
                EndContext();
                BeginContext(7789, 5, true);
                WriteLiteral("</p>\n");
                EndContext();
#line 145 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            }

#line default
#line hidden
            BeginContext(7816, 348, true);
            WriteLiteral(@"                </div>
            </div>
            <div class=""panel panel-default"">
                <div class=""panel-heading"">
                    <h1 class=""page-header small"">Most Popular</h1>
                    <p class=""page-subtitle small"">Most popular ordered products</p>
                </div>
                <div class=""col-md-12"">
");
            EndContext();
#line 154 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            if (Model.MostPopularFoods.Count() == 0)
            {
#line default
#line hidden
                BeginContext(8247, 80, true);
                WriteLiteral("                        <p>It looks like you havn\'t ordered anything yet...</p>\n");
                EndContext();
#line 157 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            }

#line default
#line hidden
            BeginContext(8349, 44, true);
            WriteLiteral("                    <ul class=\"list-group\">\n");
            EndContext();
#line 159 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            foreach (var food in Model.MostPopularFoods)
            {
#line default
#line hidden
                BeginContext(8488, 56, true);
                WriteLiteral("                            <li class=\"list-group-item\">");
                EndContext();
                BeginContext(8544, 84, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3db9d2e2260b601ae690e6a60cf29b9c7d16ea3733126", async() => {
                    BeginContext(8614, 9, false);
#line 161 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                    Write(food.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.Controller = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 161 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
                WriteLiteral(food.Id);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(8628, 6, true);
                WriteLiteral("</li>\n");
                EndContext();
#line 162 "C:\CoffeeFoodStore\Shop.Web\Views\Account\Profile.cshtml"
            }

#line default
#line hidden
            BeginContext(8660, 100, true);
            WriteLiteral("                    </ul>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>");
            EndContext();
        }
Example #4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(30, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"

            ViewData["Title"] = "Dashboard";

#line default
#line hidden
            BeginContext(77, 179, true);
            WriteLiteral("\r\n<h2 class=\"text-center\" style=\"font-weight: 700;\">Welcome to Coders Directory</h2>\r\n<h3 class=\"text-center\" style=\"font-weight: 700;\">Announcements</h3>\r\n<p class=\"text-center\">");
            EndContext();
            BeginContext(257, 18, false);
#line 9 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
            Write(Model.Announcement);

#line default
#line hidden
            EndContext();
            BeginContext(275, 10, true);
            WriteLiteral("</p>\r\n\r\n\r\n");
            EndContext();
#line 12 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
            if (User.IsInRole("NewUser"))
            {
#line default
#line hidden
                BeginContext(320, 176, true);
                WriteLiteral("    <h3 class=\"text-center\" style=\"font-weight: 700; margin-top: 50px;\">New Users</h3>\r\n    <p>Before you can view other member profiles, you must</p>\r\n    <ul>\r\n        <li>\r\n");
                EndContext();
#line 18 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                if (Model.EmailVerified == true)
                {
#line default
#line hidden
                    BeginContext(575, 32, false);
#line 20 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                    Write(Html.Raw("Verify your email - "));

#line default
#line hidden
                    EndContext();
                    BeginContext(607, 46, true);
                    WriteLiteral("<span style=\"color: green;\">Completed</span>\r\n");
                    EndContext();
#line 21 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(718, 42, false);
#line 24 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                    Write(Html.Raw("Verify your email - Go to the "));

#line default
#line hidden
                    EndContext();
                    BeginContext(779, 52, false);
#line 25 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                    Write(Html.ActionLink("Manage Account", "Index", "Manage"));

#line default
#line hidden
                    EndContext();
                    BeginContext(850, 47, false);
#line 26 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                    Write(Html.Raw(" page to send a confirmation email."));

#line default
#line hidden
                    EndContext();
#line 26 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(914, 29, true);
                WriteLiteral("        </li>\r\n        <li>\r\n");
                EndContext();
#line 30 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                if (Model.ProfileCreated == true)
                {
#line default
#line hidden
                    BeginContext(1023, 34, false);
#line 32 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                    Write(Html.Raw("Create your profile - "));

#line default
#line hidden
                    EndContext();
                    BeginContext(1057, 46, true);
                    WriteLiteral("<span style=\"color: green;\">Completed</span>\r\n");
                    EndContext();
#line 33 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(1168, 69, false);
#line 36 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                    Write(Html.ActionLink("Create and save your profile", "Create", "Profiles"));

#line default
#line hidden
                    EndContext();
#line 36 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(1254, 303, true);
                WriteLiteral(@"        </li>
    </ul>
    <p>Once you have completed those two steps, an administrator will review your account. If approved, your profile will be published on the site and you will be able to search other user profiles.</p>
    <p>If your account is not approved within five business days, please ");
                EndContext();
                BeginContext(1558, 46, false);
#line 41 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                Write(Html.ActionLink("contact us", "About", "Home"));

#line default
#line hidden
                EndContext();
                BeginContext(1604, 7, true);
                WriteLiteral(".</p>\r\n");
                EndContext();
#line 42 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
            }
            else if (User.IsInRole("Admins") || User.IsInRole("ApprovedUser"))
            {
#line default
#line hidden
                BeginContext(1685, 107, true);
                WriteLiteral("    <h3 class=\"text-center\" style=\"font-weight: 700; margin-top: 50px;\">New Members/Recently Updated</h3>\r\n");
                EndContext();
#line 46 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                if (Model.RecentProfiles == null || Model.RecentProfiles.Count() == 0)
                {
#line default
#line hidden
                    BeginContext(1876, 67, true);
                    WriteLiteral("        <p class=\"text-center\">No recent profiles to display.</p>\r\n");
                    EndContext();
#line 49 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(1967, 719, true);
                    WriteLiteral(@"        <table class=""table table-striped"">
            <thead>
                <tr class=""table-primary"">
                    <th style=""width: 20%;"">
                        Name
                    </th>
                    <th style=""width: 25%;"">
                        Languages/Frameworks
                    </th>
                    <th style=""width: 13.7%;"">
                        City
                    </th>
                    <th style=""width: 13.7%;"">
                        State
                    </th>
                    <th style=""width: 13.7%;"">
                        Country
                    </th>
                </tr>
            </thead>
            <tbody>

");
                    EndContext();
#line 74 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                    foreach (var item in Model.RecentProfiles)
                    {
#line default
#line hidden
                        BeginContext(2766, 84, true);
                        WriteLiteral("                    <tr>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(2850, 62, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5b966cb443254eeeb80f34d45b29b4ca", async() => {
                            BeginContext(2899, 9, false);
#line 78 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                            Write(item.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_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 78 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                        WriteLiteral(item.Id);

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

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2912, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(3004, 44, false);
#line 81 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Languages));

#line default
#line hidden
                        EndContext();
                        BeginContext(3048, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(3140, 39, false);
#line 84 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                        Write(Html.DisplayFor(modelItem => item.City));

#line default
#line hidden
                        EndContext();
                        BeginContext(3179, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(3271, 40, false);
#line 87 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                        Write(Html.DisplayFor(modelItem => item.State));

#line default
#line hidden
                        EndContext();
                        BeginContext(3311, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(3403, 42, false);
#line 90 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Country));

#line default
#line hidden
                        EndContext();
                        BeginContext(3445, 60, true);
                        WriteLiteral("\r\n                        </td>\r\n                    </tr>\r\n");
                        EndContext();
#line 93 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                    }

#line default
#line hidden
                    BeginContext(3524, 40, true);
                    WriteLiteral("            </tbody>\r\n        </table>\r\n");
                    EndContext();
#line 96 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(3571, 96, true);
                WriteLiteral("    <h3 class=\"text-center\" style=\"font-weight: 700; margin-top: 50px;\">Favorite Profiles</h3>\r\n");
                EndContext();
#line 98 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                if (Model.FavoriteProfiles == null || Model.FavoriteProfiles.Count() == 0)
                {
#line default
#line hidden
                    BeginContext(3755, 69, true);
                    WriteLiteral("        <p class=\"text-center\">No favorite profiles to display.</p>\r\n");
                    EndContext();
#line 101 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(3848, 719, true);
                    WriteLiteral(@"        <table class=""table table-striped"">
            <thead>
                <tr class=""table-primary"">
                    <th style=""width: 20%;"">
                        Name
                    </th>
                    <th style=""width: 25%;"">
                        Languages/Frameworks
                    </th>
                    <th style=""width: 13.7%;"">
                        City
                    </th>
                    <th style=""width: 13.7%;"">
                        State
                    </th>
                    <th style=""width: 13.7%;"">
                        Country
                    </th>
                </tr>
            </thead>
            <tbody>

");
                    EndContext();
#line 126 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                    foreach (var item in Model.FavoriteProfiles)
                    {
#line default
#line hidden
                        BeginContext(4649, 84, true);
                        WriteLiteral("                    <tr>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(4733, 62, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7f3b3b18e3bd41e88e2b6775b99bed83", async() => {
                            BeginContext(4782, 9, false);
#line 130 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                            Write(item.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_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 130 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                        WriteLiteral(item.Id);

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

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(4795, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(4887, 44, false);
#line 133 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Languages));

#line default
#line hidden
                        EndContext();
                        BeginContext(4931, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(5023, 39, false);
#line 136 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                        Write(Html.DisplayFor(modelItem => item.City));

#line default
#line hidden
                        EndContext();
                        BeginContext(5062, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(5154, 40, false);
#line 139 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                        Write(Html.DisplayFor(modelItem => item.State));

#line default
#line hidden
                        EndContext();
                        BeginContext(5194, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(5286, 42, false);
#line 142 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Country));

#line default
#line hidden
                        EndContext();
                        BeginContext(5328, 60, true);
                        WriteLiteral("\r\n                        </td>\r\n                    </tr>\r\n");
                        EndContext();
#line 145 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                    }

#line default
#line hidden
                    BeginContext(5407, 40, true);
                    WriteLiteral("            </tbody>\r\n        </table>\r\n");
                    EndContext();
#line 148 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                }

#line default
#line hidden
#line 148 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(5474, 144, true);
                WriteLiteral("            <h3 class=\"text-center\" sstyle=\"margin-top: 50px; font-weight: 700;\" >Account Error</h3>\r\n            <p class=\"text-center\">Please ");
                EndContext();
                BeginContext(5619, 59, false);
#line 153 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
                Write(Html.ActionLink("contact an adminstrator", "About", "Home"));

#line default
#line hidden
                EndContext();
                BeginContext(5678, 26, true);
                WriteLiteral(" about your account.</p>\r\n");
                EndContext();
#line 154 "C:\Users\Me\projects\CodersDirectory\CodersDirectory\Views\Profiles\Index.cshtml"
            }

#line default
#line hidden
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(56, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
  
    ViewData["Title"] = "GetCourse";

#line default
#line hidden
            BeginContext(103, 175, true);
            WriteLiteral("\r\n<h2>GetCourse</h2>\r\n\r\n<table class=\"table\">\r\n    <tr>\r\n        <th>Name</th>\r\n        <th>StartDate</th>\r\n        <th>StartDate</th>\r\n        <th>EndDate</th>\r\n    </tr>\r\n\r\n");
            EndContext();
#line 17 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
     foreach (var item in Model)
    {

#line default
#line hidden
            BeginContext(319, 48, true);
            WriteLiteral("        <tr>\r\n            <td>\r\n                ");
            EndContext();
            BeginContext(368, 39, false);
#line 21 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
           Write(Html.DisplayFor(modelItem => item.Name));

#line default
#line hidden
            EndContext();
            BeginContext(407, 55, true);
            WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
            EndContext();
            BeginContext(463, 44, false);
#line 24 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
           Write(Html.DisplayFor(modelItem => item.StartDate));

#line default
#line hidden
            EndContext();
            BeginContext(507, 55, true);
            WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
            EndContext();
            BeginContext(563, 42, false);
#line 27 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
           Write(Html.DisplayFor(modelItem => item.EndDate));

#line default
#line hidden
            EndContext();
            BeginContext(605, 55, true);
            WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
            EndContext();
            BeginContext(661, 46, false);
#line 30 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
           Write(Html.DisplayFor(modelItem => item.PassCredits));

#line default
#line hidden
            EndContext();
            BeginContext(707, 23, true);
            WriteLiteral("\r\n            </td>\r\n\r\n");
            EndContext();
#line 33 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
             if (User.IsInRole("Admin"))
            {

#line default
#line hidden
            BeginContext(787, 42, true);
            WriteLiteral("                <td>\r\n                    ");
            EndContext();
            BeginContext(830, 57, false);
#line 36 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
               Write(Html.ActionLink("Add", "AddCourse", new { id = item.Id }));

#line default
#line hidden
            EndContext();
            BeginContext(887, 67, true);
            WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
            EndContext();
            BeginContext(955, 59, false);
#line 39 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
               Write(Html.ActionLink("Edit", "EditCourse", new { id = item.Id }));

#line default
#line hidden
            EndContext();
            BeginContext(1014, 67, true);
            WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
            EndContext();
            BeginContext(1082, 63, false);
#line 42 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
               Write(Html.ActionLink("Delete", "DeleteCourse", new { id = item.Id }));

#line default
#line hidden
            EndContext();
            BeginContext(1145, 25, true);
            WriteLiteral("\r\n                </td>\r\n");
            EndContext();
#line 44 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
            }

#line default
#line hidden
            BeginContext(1185, 15, true);
            WriteLiteral("        </tr>\r\n");
            EndContext();
#line 46 "C:\Users\paste\OneDrive\Рабочий стол\Practiciiiing c#\courseproject\Asp.Net Core project\Asp.Net Core project\Views\Course\GetCourses.cshtml"
    }

#line default
#line hidden
            BeginContext(1207, 8, true);
            WriteLiteral("</table>");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(56, 90, true);
            WriteLiteral("<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js\"></script>\r\n");
            EndContext();
            BeginContext(146, 45, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8747a55ae1e61281d3964917610dff14dac80137785", 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);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(191, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(193, 68, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c8747a55ae1e61281d3964917610dff14dac80138962", 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_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(261, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 5 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmReview.cshtml"

            ViewData["Title"] = "FilmReview";

#line default
#line hidden
            BeginContext(309, 114, true);
            WriteLiteral("\r\n<h1>FilmReview</h1>\r\n\r\n<h4>FilmReviewModel</h4>\r\n<hr />\r\n<div class=\"row\">\r\n    <div class=\"col-md-4\">\r\n        ");
            EndContext();
            BeginContext(423, 810, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8747a55ae1e61281d3964917610dff14dac801310716", async() => {
                BeginContext(453, 14, true);
                WriteLiteral("\r\n            ");
                EndContext();
                BeginContext(467, 66, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8747a55ae1e61281d3964917610dff14dac801311111", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
#line 16 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmReview.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, 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(533, 56, true);
                WriteLiteral("\r\n            <div class=\"form-group\">\r\n                ");
                EndContext();
                BeginContext(589, 54, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8747a55ae1e61281d3964917610dff14dac801312974", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 18 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmReview.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Review);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(643, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(661, 47, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c8747a55ae1e61281d3964917610dff14dac801314706", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 19 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmReview.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Review);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(708, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(726, 61, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8747a55ae1e61281d3964917610dff14dac801316432", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#line 20 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmReview.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Review);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, 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(787, 76, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-group\">\r\n                ");
                EndContext();
                BeginContext(863, 53, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8747a55ae1e61281d3964917610dff14dac801318298", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 23 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmReview.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Score);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(916, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(934, 46, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c8747a55ae1e61281d3964917610dff14dac801320029", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 24 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmReview.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Score);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(980, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(998, 60, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8747a55ae1e61281d3964917610dff14dac801321754", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#line 25 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmReview.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Score);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, 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(1058, 168, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-group\">\r\n                <input type=\"submit\" value=\"Create\" class=\"btn btn-primary\" />\r\n            </div>\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.Action = (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(1233, 24, true);
            WriteLiteral("\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
#line 34 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmReview.cshtml"
            if (User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(1290, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1309, 50, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8747a55ae1e61281d3964917610dff14dac801325316", async() => {
                    BeginContext(1335, 20, true);
                    WriteLiteral("Back to List (Admin)");
                    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_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1359, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 39 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmReview.cshtml"
            }

#line default
#line hidden
            BeginContext(1376, 13, true);
            WriteLiteral("\r\n<div>\r\n    ");
            EndContext();
            BeginContext(1389, 69, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8747a55ae1e61281d3964917610dff14dac801326983", async() => {
                BeginContext(1442, 12, true);
                WriteLiteral("Back to List");
                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_8.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1458, 12, true);
            WriteLiteral("\r\n</div>\r\n\r\n");
            EndContext();
        }
Example #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(43, 1, true);
            WriteLiteral("\n");
            EndContext();
            BeginContext(207, 191, true);
            WriteLiteral("\n<div class=\"container body-content\" style=\"margin-bottom:200px;\">\n    <div class=\"row foodHeader\">\n        <div class=\"foodHeading\">\n            <span class=\"foodIndexName\">\n                ");
            EndContext();
            BeginContext(399, 10, false);
#line 12 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
            Write(Model.Name);

#line default
#line hidden
            EndContext();
            BeginContext(409, 72, true);
            WriteLiteral("\n            </span>\n            <br>\n            <span id=\"headingBtn\">");
            EndContext();
            BeginContext(481, 141, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a4e3230938feb613e15532695615103ae1c0296f10357", async() => {
                BeginContext(583, 8, true);
                WriteLiteral("Back to ");
                EndContext();
                BeginContext(592, 18, false);
#line 15 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                Write(Model.CategoryName);

#line default
#line hidden
                EndContext();
                BeginContext(610, 8, true);
                WriteLiteral(" section");
                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.Controller = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            __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-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
            }
            BeginWriteTagHelperAttribute();
#line 15 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
            WriteLiteral(Model.CategoryId);

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

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(622, 168, true);
            WriteLiteral("</span>\n        </div>\n    </div>\n\n    <div class=\"row\" id=\"foodIndexContent\">\n        <div class=\"col-md-9 foodContentContainer\">\n            <div class=\"categoryLogo\"");
            EndContext();
            BeginWriteAttribute("style", " style=\"", 790, "\"", 884, 6);
            WriteAttributeValue("", 798, "background-image:", 798, 17, true);
            WriteAttributeValue(" ", 815, "url(", 816, 5, true);
#line 21 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
            WriteAttributeValue("", 820, Model.ImageUrl, 820, 15, false);

#line default
#line hidden
            WriteAttributeValue("", 835, ");", 835, 2, true);
            WriteAttributeValue(" ", 837, "background-size:100%;", 838, 22, true);
            WriteAttributeValue(" ", 859, "width:360px;height:240px", 860, 25, true);
            EndWriteAttribute();
            BeginContext(885, 62, true);
            WriteLiteral("></div>\n            <div class=\"foodContent\">\n                ");
            EndContext();
            BeginContext(948, 27, false);
#line 23 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
            Write(Html.Raw(Model.Description));

#line default
#line hidden
            EndContext();
            BeginContext(975, 213, true);
            WriteLiteral("\n            </div>\n        </div>\n        <div class=\"col-md-3\">\n            <div class=\"btn-addToCart\">\n                <div class=\"categoryPrice\">Price: <input readonly class=\"form-control\" style=\"outline:none\"");
            EndContext();
            BeginWriteAttribute("id", " id=\"", 1188, "\"", 1225, 2);
            WriteAttributeValue("", 1193, "foodTotal-", 1193, 10, true);
#line 28 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
            WriteAttributeValue("", 1203, Model.GetHashCode(), 1203, 22, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginWriteAttribute("value", " value=\"", 1226, "\"", 1246, 1);
#line 28 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
            WriteAttributeValue("", 1234, Model.Total, 1234, 12, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(1247, 8, true);
            WriteLiteral("></div>\n");
            EndContext();
#line 29 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
            if (User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(1317, 57, true);
                WriteLiteral("                    <div class=\"categoryPrice\">In Stock: ");
                EndContext();
                BeginContext(1375, 13, false);
#line 31 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                Write(Model.InStock);

#line default
#line hidden
                EndContext();
                BeginContext(1388, 7, true);
                WriteLiteral("</div>\n");
                EndContext();
#line 32 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1413, 16, true);
            WriteLiteral("                ");
            EndContext();
            BeginContext(1429, 1558, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a4e3230938feb613e15532695615103ae1c0296f17252", async() => {
                BeginContext(1533, 23, true);
                WriteLiteral("\n                    <a");
                EndContext();
                BeginWriteAttribute("onclick", " onclick=\"", 1556, "\"", 1717, 8);
                WriteAttributeValue("", 1566, "changeValue(document.getElementById(\'amount-input-\'+", 1566, 52, true);
#line 34 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                WriteAttributeValue("", 1618, Model.Id.ToString(), 1618, 20, false);

#line default
#line hidden
                WriteAttributeValue("", 1638, "),document.getElementById(\'foodTotal-", 1638, 37, true);
#line 34 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                WriteAttributeValue("", 1675, Model.GetHashCode(), 1675, 22, false);

#line default
#line hidden
                WriteAttributeValue("", 1697, "\'),", 1697, 3, true);
#line 34 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                WriteAttributeValue(" ", 1700, Model.Total, 1701, 12, false);

#line default
#line hidden
                WriteAttributeValue("", 1713, ",", 1713, 1, true);
                WriteAttributeValue(" ", 1714, "1)", 1715, 3, true);
                EndWriteAttribute();
                BeginContext(1718, 60, true);
                WriteLiteral("><i class=\"fas fa-plus-circle\"></i></a>\n                    ");
                EndContext();
                BeginContext(1778, 168, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "a4e3230938feb613e15532695615103ae1c0296f19095", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "id", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                AddHtmlAttributeValue("", 1789, "amount-input-", 1789, 13, true);
#line 35 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                AddHtmlAttributeValue("", 1802, Model.Id, 1802, 9, false);

#line default
#line hidden
                EndAddHtmlAttributeValues(__tagHelperExecutionContext);
#line 35 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Amount);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1946, 23, true);
                WriteLiteral("\n                    <a");
                EndContext();
                BeginWriteAttribute("onclick", " onclick=\"", 1969, "\"", 2131, 8);
                WriteAttributeValue("", 1979, "changeValue(document.getElementById(\'amount-input-\'+", 1979, 52, true);
#line 36 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                WriteAttributeValue("", 2031, Model.Id.ToString(), 2031, 20, false);

#line default
#line hidden
                WriteAttributeValue("", 2051, "),document.getElementById(\'foodTotal-", 2051, 37, true);
#line 36 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                WriteAttributeValue("", 2088, Model.GetHashCode(), 2088, 22, false);

#line default
#line hidden
                WriteAttributeValue("", 2110, "\'),", 2110, 3, true);
#line 36 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                WriteAttributeValue(" ", 2113, Model.Total, 2114, 12, false);

#line default
#line hidden
                WriteAttributeValue("", 2126, ",", 2126, 1, true);
                WriteAttributeValue(" ", 2127, "-1)", 2128, 4, true);
                EndWriteAttribute();
                BeginContext(2132, 108, true);
                WriteLiteral("><i class=\"fas fa-minus-circle\"></i></a>\n                    <div class=\"btn-cart\">\n                        ");
                EndContext();
                BeginContext(2240, 216, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a4e3230938feb613e15532695615103ae1c0296f23195", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.Controller = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.Action = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 38 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                WriteLiteral(Model.Id);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 38 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                WriteLiteral(Model.Amount);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["amount"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-amount", __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["amount"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 38 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                WriteLiteral(Context.Request.Path);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["returnUrl"], 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(2456, 28, true);
                WriteLiteral("\n                    </div>\n");
                EndContext();
#line 40 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                if (User.IsInRole("Admin"))
                {
#line default
#line hidden
                    BeginContext(2554, 58, true);
                    WriteLiteral("                        <div>\n                            ");
                    EndContext();
                    BeginContext(2612, 78, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a4e3230938feb613e15532695615103ae1c0296f28401", async() => {
                        BeginContext(2682, 4, true);
                        WriteLiteral("Edit");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 43 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                    WriteLiteral(Model.Id);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2690, 29, true);
                    WriteLiteral("\n                            ");
                    EndContext();
                    BeginContext(2720, 190, false);
#line 44 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                    Write(Html.ActionLink("Delete", "Delete", new { id = @Model.Id },
                                          new { onclick = "return confirm('Are sure you want to delete food?');", @class = "btn btn-danger" }));

#line default
#line hidden
                    EndContext();
                    BeginContext(2910, 32, true);
                    WriteLiteral("\n                        </div>\n");
                    EndContext();
#line 47 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Food\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(2964, 16, true);
                WriteLiteral("                ");
                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.Controller = (string)__tagHelperAttribute_9.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_10.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_13.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(2987, 54, true);
            WriteLiteral("\n            </div>\n        </div>\n    </div>\n</div>\n\n");
            EndContext();
        }
Example #8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(60, 90, true);
            WriteLiteral("<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js\"></script>\r\n");
            EndContext();
            BeginContext(150, 45, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "91fde0aefa867e7074ec4db48f84c7bcffb2edac5758", 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);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(195, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(197, 68, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "91fde0aefa867e7074ec4db48f84c7bcffb2edac6935", 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_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(265, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 7 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            int score = 0;

#line default
#line hidden
#line 8 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"

            ViewData["Title"] = "FilmDetail";

#line default
#line hidden
            BeginContext(422, 6, true);
            WriteLiteral("\r\n<h1>");
            EndContext();
            BeginContext(429, 11, false);
#line 12 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            Write(Model.Titel);

#line default
#line hidden
            EndContext();
            BeginContext(440, 36, true);
            WriteLiteral("</h1>\r\n\r\n<strong>Title</strong>\r\n<p>");
            EndContext();
            BeginContext(477, 11, false);
#line 15 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            Write(Model.Titel);

#line default
#line hidden
            EndContext();
            BeginContext(488, 31, true);
            WriteLiteral("</p>\r\n\r\n<strong>Foto</strong>\r\n");
            EndContext();
#line 18 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            if (Model.Foto == null)
            {
#line default
#line hidden
                BeginContext(548, 34, true);
                WriteLiteral("    <p>Geen foto beschikbaar</p>\r\n");
                EndContext();
#line 21 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            }
            else
            {
                var base64 = Convert.ToBase64String(Model.Foto);
                var imgSrc = String.Format("data:image/gif;base64,{0}", base64);


#line default
#line hidden
                BeginContext(720, 23, true);
                WriteLiteral("    <div>\r\n        <img");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 743, "\"", 756, 1);
#line 28 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
                WriteAttributeValue("", 749, imgSrc, 749, 7, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(757, 40, true);
                WriteLiteral(" alt=\"Alternate Text\" />\r\n\r\n    </div>\r\n");
                EndContext();
#line 31 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            }

#line default
#line hidden
            BeginContext(800, 31, true);
            WriteLiteral("<strong>Regisseur</strong>\r\n<p>");
            EndContext();
            BeginContext(832, 15, false);
#line 33 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            Write(Model.Regisseur);

#line default
#line hidden
            EndContext();
            BeginContext(847, 32, true);
            WriteLiteral("</p>\r\n\r\n<strong>Score</strong>\r\n");
            EndContext();
#line 36 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            if (!Model.Scores.Any())
            {
#line default
#line hidden
                BeginContext(909, 32, true);
                WriteLiteral("    <p>Er zijn geen scores</p>\r\n");
                EndContext();
#line 39 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            }
            else
            {
#line default
#line hidden
#line 42 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
                foreach (var item in Model.Scores)
                {
                    score += item;
                }

#line default
#line hidden
#line 45 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"

                score = score / Model.Scores.Count();

#line default
#line hidden
                BeginContext(1075, 7, true);
                WriteLiteral("    <p>");
                EndContext();
                BeginContext(1083, 5, false);
#line 47 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
                Write(score);

#line default
#line hidden
                EndContext();
                BeginContext(1088, 10, true);
                WriteLiteral(" /10</p>\r\n");
                EndContext();
#line 48 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            }

#line default
#line hidden
            BeginContext(1101, 29, true);
            WriteLiteral("\r\n<strong>Views</strong>\r\n<p>");
            EndContext();
            BeginContext(1131, 12, false);
#line 51 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            Write(Model.Gezien);

#line default
#line hidden
            EndContext();
            BeginContext(1143, 42, true);
            WriteLiteral(" leden hebben deze film gezien.</p>\r\n\r\n<p>");
            EndContext();
            BeginContext(1186, 16, false);
#line 53 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            Write(Model.WillenZien);

#line default
#line hidden
            EndContext();
            BeginContext(1202, 64, true);
            WriteLiteral(" leden willen deze film zien.</p>\r\n\r\n\r\n<strong>Review</strong>\r\n");
            EndContext();
#line 57 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            if (!Model.Scores.Any())
            {
#line default
#line hidden
                BeginContext(1296, 33, true);
                WriteLiteral("    <p>Er zijn geen reviews</p>\r\n");
                EndContext();
#line 60 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            }
            else
            {
#line default
#line hidden
#line 63 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
                foreach (var item in Model.Reviews)
                {
#line default
#line hidden
                    BeginContext(1390, 11, true);
                    WriteLiteral("        <p>");
                    EndContext();
                    BeginContext(1402, 4, false);
#line 65 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
                    Write(item);

#line default
#line hidden
                    EndContext();
                    BeginContext(1406, 6, true);
                    WriteLiteral("</p>\r\n");
                    EndContext();
#line 66 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
                }

#line default
#line hidden
#line 66 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            }

#line default
#line hidden
#line 67 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            if (User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(1453, 19, true);
                WriteLiteral("    <div>\r\n        ");
                EndContext();
                BeginContext(1472, 50, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "91fde0aefa867e7074ec4db48f84c7bcffb2edac15416", async() => {
                    BeginContext(1498, 20, true);
                    WriteLiteral("Back to List (Admin)");
                    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_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1522, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 72 "C:\Users\Student\source\repos\MediaDatabase\MediaLibrary\MediaLibrary\Views\Admin\FilmDetail.cshtml"
            }

#line default
#line hidden
            BeginContext(1539, 13, true);
            WriteLiteral("\r\n<div>\r\n    ");
            EndContext();
            BeginContext(1552, 69, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "91fde0aefa867e7074ec4db48f84c7bcffb2edac17083", async() => {
                BeginContext(1605, 12, true);
                WriteLiteral("Back to List");
                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_4.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_5.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1621, 12, true);
            WriteLiteral("\r\n</div>\r\n\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(41, 1, true);
            WriteLiteral("\n");
            EndContext();
#line 3 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(80, 25, true);
            WriteLiteral("\n<h2>Index</h2>\n\n<p>\n    ");
            EndContext();
            BeginContext(105, 37, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "57f7463df0ae48b6bd87585978338150", async() => {
                BeginContext(128, 10, true);
                WriteLiteral("Create New");
                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_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(142, 86, true);
            WriteLiteral("\n</p>\n<table class=\"table\">\n    <thead>\n        <tr>\n            <th>\n                ");
            EndContext();
            BeginContext(229, 44, false);
#line 16 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.FullName));

#line default
#line hidden
            EndContext();
            BeginContext(273, 52, true);
            WriteLiteral("\n            </th>\n            <th>\n                ");
            EndContext();
            BeginContext(326, 44, false);
#line 19 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.childDOB));

#line default
#line hidden
            EndContext();
            BeginContext(370, 19, true);
            WriteLiteral("\n            </th>\n");
            EndContext();
#line 21 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
            if (!User.IsInRole("Parent"))
            {
#line default
#line hidden
                BeginContext(446, 41, true);
                WriteLiteral("                <th>\n                    ");
                EndContext();
                BeginContext(488, 42, false);
#line 24 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                Write(Html.DisplayNameFor(model => model.UserID));

#line default
#line hidden
                EndContext();
                BeginContext(530, 23, true);
                WriteLiteral("\n                </th>\n");
                EndContext();
#line 26 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(567, 123, true);
            WriteLiteral("            <th>\n                Activities\n            </th>\n            <th></th>\n        </tr>\n    </thead>\n    <tbody>\n");
            EndContext();
#line 34 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(721, 46, true);
                WriteLiteral("        <tr>\n            <td>\n                ");
                EndContext();
                BeginContext(768, 43, false);
#line 37 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.FullName));

#line default
#line hidden
                EndContext();
                BeginContext(811, 52, true);
                WriteLiteral("\n            </td>\n            <td>\n                ");
                EndContext();
                BeginContext(864, 43, false);
#line 40 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.childDOB));

#line default
#line hidden
                EndContext();
                BeginContext(907, 19, true);
                WriteLiteral("\n            </td>\n");
                EndContext();
#line 42 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                if (!User.IsInRole("Parent"))
                {
#line default
#line hidden
                    BeginContext(983, 41, true);
                    WriteLiteral("                <td>\n                    ");
                    EndContext();
                    BeginContext(1025, 48, false);
#line 45 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.User.FullName));

#line default
#line hidden
                    EndContext();
                    BeginContext(1073, 23, true);
                    WriteLiteral("\n                </td>\n");
                    EndContext();
#line 47 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(1110, 17, true);
                WriteLiteral("            <td>\n");
                EndContext();
#line 49 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                foreach (var a in item.ChildEnrolleds)
                {
#line default
#line hidden
                    BeginContext(1222, 20, false);
#line 51 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                    Write(a.Activities.actName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1242, 8, true);
                    WriteLiteral(" <br />\n");
                    EndContext();
#line 52 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(1268, 51, true);
                WriteLiteral("            </td>\n            <td>\n                ");
                EndContext();
                BeginContext(1319, 53, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "87e9cf8a20d44000a337dbe064be61b9", async() => {
                    BeginContext(1364, 4, true);
                    WriteLiteral("Edit");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 55 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                WriteLiteral(item.ID);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1372, 19, true);
                WriteLiteral(" |\n                ");
                EndContext();
                BeginContext(1391, 59, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "02ffd2e4d090456a9aaa78f6fde1a7f5", async() => {
                    BeginContext(1439, 7, true);
                    WriteLiteral("Details");
                    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);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 56 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                WriteLiteral(item.ID);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1450, 19, true);
                WriteLiteral(" |\n                ");
                EndContext();
                BeginContext(1469, 57, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5e022e9f39ec4928b48b69a1ca87b783", async() => {
                    BeginContext(1516, 6, true);
                    WriteLiteral("Delete");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 57 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
                WriteLiteral(item.ID);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1526, 33, true);
                WriteLiteral("\n            </td>\n        </tr>\n");
                EndContext();
#line 60 "E:\B&GClub\BGC_App\BnGClub\BnGClub\Views\Children\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1561, 22, true);
            WriteLiteral("    </tbody>\n</table>\n");
            EndContext();
        }
Example #10
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(35, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"

            ViewData["Title"] = "Edit Market";



#line default
#line hidden
#line 6 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
            if (User.Identity.IsAuthenticated)
            {
                if (User.IsInRole("Admins"))
                {
                    Layout = "~/Views/Shared/_AdminLayout.cshtml";
                }
                else if (User.IsInRole("Market Owner"))
                {
                    Layout = "~/Views/Shared/_MarketOwnerLayout.cshtml";
                }
            }

#line default
#line hidden
            BeginContext(398, 101, true);
            WriteLiteral("\r\n\r\n<h1>Edit</h1>\r\n\r\n<h4>Market</h4>\r\n<hr />\r\n<div class=\"row\">\r\n    <div class=\"col-md-4\">\r\n        ");
            EndContext();
            BeginContext(499, 1748, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a7331", async() => {
                BeginContext(523, 14, true);
                WriteLiteral("\r\n            ");
                EndContext();
                BeginContext(537, 66, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a7725", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
#line 27 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(603, 14, true);
                WriteLiteral("\r\n            ");
                EndContext();
                BeginContext(617, 42, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a9523", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 28 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.MarketID);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, 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(659, 56, true);
                WriteLiteral("\r\n            <div class=\"form-group\">\r\n                ");
                EndContext();
                BeginContext(715, 58, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a11403", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 30 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.MarketName);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, 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(773, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(791, 51, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a13121", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 31 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.MarketName);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(842, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(860, 65, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a14833", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#line 32 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.MarketName);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(925, 76, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-group\">\r\n                ");
                EndContext();
                BeginContext(1001, 60, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a16686", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 35 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Descripshion);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, 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(1061, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(1079, 53, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a18408", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 36 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Descripshion);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1132, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(1150, 67, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a20124", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#line 37 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Descripshion);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1217, 76, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-group\">\r\n                ");
                EndContext();
                BeginContext(1293, 59, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a21980", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 40 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.MarketOwner);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, 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(1352, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(1370, 52, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a23701", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 41 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.MarketOwner);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1422, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(1440, 66, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a25416", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#line 42 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.MarketOwner);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1506, 76, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-group\">\r\n                ");
                EndContext();
                BeginContext(1582, 61, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a27271", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 45 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.MarketAddress);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, 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(1643, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(1661, 54, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a28994", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 46 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.MarketAddress);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1715, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(1733, 68, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a30711", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#line 47 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.MarketAddress);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1801, 76, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-group\">\r\n                ");
                EndContext();
                BeginContext(1877, 53, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a32568", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 50 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.FBUrl);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, 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(1930, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(1948, 46, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a34283", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 51 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.FBUrl);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1994, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(2012, 60, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a35992", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#line 52 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.FBUrl);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2072, 168, true);
                WriteLiteral("\r\n            </div>\r\n\r\n            <div class=\"form-group\">\r\n                <input type=\"submit\" value=\"Save\" class=\"btn btn-primary\" />\r\n            </div>\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.Action = (string)__tagHelperAttribute_4.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(2247, 35, true);
            WriteLiteral("\r\n    </div>\r\n</div>\r\n\r\n<div>\r\n    ");
            EndContext();
            BeginContext(2282, 38, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20eef10cdc63fad1cb49823282cf6d50eafbbd9a39253", async() => {
                BeginContext(2304, 12, true);
                WriteLiteral("Back to List");
                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_5.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(2320, 12, true);
            WriteLiteral("\r\n</div>\r\n\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(2350, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 67 "F:\PICTI\FashionWorld\Backend\FashionWorld\FashionWorld\Views\Markets\Edit.cshtml"
                await Html.RenderPartialAsync("_ValidationScriptsPartial");

#line default
#line hidden
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(45, 118, true);
            WriteLiteral("\n<div class=\"btn-addToCart\">\n    <div class=\"categoryPrice\"> <input readonly class=\"form-control\" style=\"outline:none\"");
            EndContext();
            BeginWriteAttribute("id", " id=\"", 163, "\"", 200, 2);
            WriteAttributeValue("", 168, "foodTotal-", 168, 10, true);
#line 4 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
            WriteAttributeValue("", 178, Model.GetHashCode(), 178, 22, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginWriteAttribute("value", " value=\"", 201, "\"", 221, 1);
#line 4 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
            WriteAttributeValue("", 209, Model.Total, 209, 12, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(222, 8, true);
            WriteLiteral("></div>\n");
            EndContext();
#line 5 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
            if (User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(268, 45, true);
                WriteLiteral("        <div class=\"categoryPrice\">In Stock: ");
                EndContext();
                BeginContext(314, 13, false);
#line 7 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                Write(Model.InStock);

#line default
#line hidden
                EndContext();
                BeginContext(327, 7, true);
                WriteLiteral("</div>\n");
                EndContext();
#line 8 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
            }

#line default
#line hidden
            BeginContext(341, 4, true);
            WriteLiteral("    ");
            EndContext();
            BeginContext(345, 996, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a82066f216fbf427a0c28c28e6296b9fbdc3c22010659", async() => {
                BeginContext(448, 11, true);
                WriteLiteral("\n        <a");
                EndContext();
                BeginWriteAttribute("onclick", " onclick=\"", 459, "\"", 622, 9);
                WriteAttributeValue("", 469, "changeValue(document.getElementById(\'amount-input-\'+", 469, 52, true);
#line 10 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                WriteAttributeValue("", 521, Model.Id.ToString(), 521, 20, false);

#line default
#line hidden
                WriteAttributeValue("", 541, "),", 541, 2, true);
                WriteAttributeValue(" ", 543, "document.getElementById(\'foodTotal-", 544, 36, true);
#line 10 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                WriteAttributeValue("", 579, Model.GetHashCode(), 579, 22, false);

#line default
#line hidden
                WriteAttributeValue("", 601, "\'),\'", 601, 4, true);
#line 10 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                WriteAttributeValue("", 605, Model.Total, 605, 12, false);

#line default
#line hidden
                WriteAttributeValue("", 617, "\',", 617, 2, true);
                WriteAttributeValue(" ", 619, "1)", 620, 3, true);
                EndWriteAttribute();
                BeginContext(623, 48, true);
                WriteLiteral("><i class=\"fas fa-plus-circle\"></i></a>\n        ");
                EndContext();
                BeginContext(671, 168, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "a82066f216fbf427a0c28c28e6296b9fbdc3c22012550", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "id", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                AddHtmlAttributeValue("", 682, "amount-input-", 682, 13, true);
#line 11 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                AddHtmlAttributeValue("", 695, Model.Id, 695, 9, false);

#line default
#line hidden
                EndAddHtmlAttributeValues(__tagHelperExecutionContext);
#line 11 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Amount);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(839, 11, true);
                WriteLiteral("\n        <a");
                EndContext();
                BeginWriteAttribute("onclick", " onclick=\"", 850, "\"", 1014, 9);
                WriteAttributeValue("", 860, "changeValue(document.getElementById(\'amount-input-\'+", 860, 52, true);
#line 12 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                WriteAttributeValue("", 912, Model.Id.ToString(), 912, 20, false);

#line default
#line hidden
                WriteAttributeValue("", 932, "),document.getElementById(\'foodTotal-", 932, 37, true);
#line 12 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                WriteAttributeValue("", 969, Model.GetHashCode(), 969, 22, false);

#line default
#line hidden
                WriteAttributeValue("", 991, "\'),", 991, 3, true);
                WriteAttributeValue(" ", 994, "\'", 995, 2, true);
#line 12 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                WriteAttributeValue("", 996, Model.Total, 996, 12, false);

#line default
#line hidden
                WriteAttributeValue("", 1008, "\',", 1008, 2, true);
                WriteAttributeValue(" ", 1010, "-1)", 1011, 4, true);
                EndWriteAttribute();
                BeginContext(1015, 84, true);
                WriteLiteral("><i class=\"fas fa-minus-circle\"></i></a>\n        <div class=\"btn-cart\">\n            ");
                EndContext();
                BeginContext(1099, 215, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "a82066f216fbf427a0c28c28e6296b9fbdc3c22016704", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.Controller = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.Action = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormActionTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 14 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                WriteLiteral(Model.Id);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 14 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                WriteLiteral(Model.Amount);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["amount"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-amount", __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["amount"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 14 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                WriteLiteral(Context.Request.Path);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_FormActionTagHelper.RouteValues["returnUrl"], 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(1314, 20, true);
                WriteLiteral("\n        </div>\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.Controller = (string)__tagHelperAttribute_6.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_7.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_8.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1341, 92, true);
            WriteLiteral("\n</div>\n\n<div class=\"foodData\">\n    <div class=\"foodName\">\n        <div class=\"categoryLogo\"");
            EndContext();
            BeginWriteAttribute("style", " style=\"", 1433, "\"", 1480, 4);
            WriteAttributeValue("", 1441, "background-image:", 1441, 17, true);
            WriteAttributeValue(" ", 1458, "url(", 1459, 5, true);
#line 21 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
            WriteAttributeValue("", 1463, Model.ImageUrl, 1463, 15, false);

#line default
#line hidden
            WriteAttributeValue("", 1478, ");", 1478, 2, true);
            EndWriteAttribute();
            BeginContext(1481, 16, true);
            WriteLiteral("></div>\n        ");
            EndContext();
            BeginContext(1497, 127, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a82066f216fbf427a0c28c28e6296b9fbdc3c22024098", async() => {
                BeginContext(1587, 13, true);
                WriteLiteral("\n            ");
                EndContext();
                BeginContext(1601, 10, false);
#line 23 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
                Write(Model.Name);

#line default
#line hidden
                EndContext();
                BeginContext(1611, 9, true);
                WriteLiteral("\n        ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_12.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_13.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
            if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
            {
                throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
            }
            BeginWriteTagHelperAttribute();
#line 22 "C:\Users\Asifs\Documents\Project to follow\ForAlorJibon\FoodStore-master\FoodStore-master\Shop.Web\Views\Shared\FoodSummary.cshtml"
            WriteLiteral(Model.Id);

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

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1624, 18, true);
            WriteLiteral("\n    </div>\n</div>");
            EndContext();
        }
Example #12
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(60, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(103, 32, true);
            WriteLiteral("\r\n<h2>Available Positions</h2>\r\n");
            EndContext();
#line 8 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            if (User.IsInRole("CSO") || User.IsInRole("Student"))
            {
#line default
#line hidden
                BeginContext(194, 36, true);
                WriteLiteral("    <p class=\"form-group\">\r\n        ");
                EndContext();
                BeginContext(230, 63, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "87e0136958c2490097f7e1501190f41a", async() => {
                    BeginContext(279, 10, true);
                    WriteLiteral("Search Job");
                    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_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(293, 40, true);
                WriteLiteral("\r\n    </p>\r\n    <p>\r\n        Displaying ");
                EndContext();
                BeginContext(334, 29, false);
#line 14 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
                Write(ViewBag.SelectedPositionCount);

#line default
#line hidden
                EndContext();
                BeginContext(363, 4, true);
                WriteLiteral(" of ");
                EndContext();
                BeginContext(368, 24, false);
#line 14 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
                Write(ViewBag.AllPositionCount);

#line default
#line hidden
                EndContext();
                BeginContext(392, 22, true);
                WriteLiteral(" Positions\r\n    </p>\r\n");
                EndContext();
#line 16 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            }

#line default
#line hidden
            BeginContext(417, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 18 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            if (User.IsInRole("Recruiter"))
            {
#line default
#line hidden
                BeginContext(456, 17, true);
                WriteLiteral("    <p>\r\n        ");
                EndContext();
                BeginContext(473, 37, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "911a0e5306784932b30824d99612d6fc", async() => {
                    BeginContext(496, 10, true);
                    WriteLiteral("Create New");
                    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);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(510, 12, true);
                WriteLiteral("\r\n    </p>\r\n");
                EndContext();
#line 23 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            }

#line default
#line hidden
            BeginContext(525, 86, true);
            WriteLiteral("\r\n<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(612, 49, false);
#line 29 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.PositionTitle));

#line default
#line hidden
            EndContext();
            BeginContext(661, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(717, 47, false);
#line 32 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Description));

#line default
#line hidden
            EndContext();
            BeginContext(764, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(820, 48, false);
#line 35 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.PositionType));

#line default
#line hidden
            EndContext();
            BeginContext(868, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(924, 44, false);
#line 38 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Location));

#line default
#line hidden
            EndContext();
            BeginContext(968, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(1024, 44, false);
#line 41 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Deadline));

#line default
#line hidden
            EndContext();
            BeginContext(1068, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(1124, 55, false);
#line 44 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Company.CompanyName));

#line default
#line hidden
            EndContext();
            BeginContext(1179, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(1235, 52, false);
#line 47 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Company.Industry));

#line default
#line hidden
            EndContext();
            BeginContext(1287, 90, true);
            WriteLiteral("\r\n            </th>\r\n\r\n\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 55 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(1426, 60, true);
                WriteLiteral("            <tr>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1487, 48, false);
#line 59 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.PositionTitle));

#line default
#line hidden
                EndContext();
                BeginContext(1535, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1603, 46, false);
#line 62 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Description));

#line default
#line hidden
                EndContext();
                BeginContext(1649, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1717, 47, false);
#line 65 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.PositionType));

#line default
#line hidden
                EndContext();
                BeginContext(1764, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1832, 43, false);
#line 68 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Location));

#line default
#line hidden
                EndContext();
                BeginContext(1875, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1943, 43, false);
#line 71 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Deadline));

#line default
#line hidden
                EndContext();
                BeginContext(1986, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(2054, 54, false);
#line 74 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Company.CompanyName));

#line default
#line hidden
                EndContext();
                BeginContext(2108, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(2176, 51, false);
#line 77 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Company.Industry));

#line default
#line hidden
                EndContext();
                BeginContext(2227, 69, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n\r\n                    ");
                EndContext();
                BeginContext(2296, 67, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2d4170bc032a4d47aa21749746d6b3ce", async() => {
                    BeginContext(2352, 7, true);
                    WriteLiteral("Details");
                    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_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 81 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
                WriteLiteral(item.PositionID);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2363, 48, true);
                WriteLiteral(" |\r\n\r\n                </td>\r\n            </tr>\r\n");
                EndContext();
#line 85 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Positions/Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2422, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
Example #13
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(47, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"

            ViewData["Title"] = "Carros cadastrados";

            var controller = "Carros";

#line default
#line hidden
            BeginContext(137, 92, true);
            WriteLiteral("\r\n<h3 class=\"titulos\">\r\n    <i class=\"fas fa-car fa-lg\"></i> Carros Cadastrados &nbsp;\r\n    ");
            EndContext();
            BeginContext(229, 206, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "22b2038bab264e57a0eabd9432c0a937", async() => {
                BeginContext(381, 50, true);
                WriteLiteral("\r\n        <i class=\"fas fa-plus-circle\"></i>\r\n    ");
                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_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(435, 32, true);
            WriteLiteral("\r\n</h3>\r\n\r\n<div class=\"row\">\r\n\r\n");
            EndContext();
#line 18 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(508, 124, true);
                WriteLiteral("        <div class=\"col-4\">\r\n            <div class=\"cartoes\">\r\n                <div class=\"card\">\r\n                    <img");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 632, "\"", 661, 1);
#line 23 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                WriteAttributeValue("", 638, Url.Content(item.Foto), 638, 23, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(662, 128, true);
                WriteLiteral(" class=\"card-img-top img-fluid\" />\r\n                    <div class=\"card-body\">\r\n                        <h5 class=\"card-title\">");
                EndContext();
                BeginContext(791, 10, false);
#line 25 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                Write(item.Marca);

#line default
#line hidden
                EndContext();
                BeginContext(801, 3, true);
                WriteLiteral(" - ");
                EndContext();
                BeginContext(805, 9, false);
#line 25 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                Write(item.Nome);

#line default
#line hidden
                EndContext();
                BeginContext(814, 74, true);
                WriteLiteral("</h5>\r\n                        <h5><span class=\"badge badge-secondary\">R$ ");
                EndContext();
                BeginContext(889, 16, false);
#line 26 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                Write(item.PrecoDiaria);

#line default
#line hidden
                EndContext();
                BeginContext(905, 92, true);
                WriteLiteral(",00</span></h5>\r\n                    </div>\r\n                    <div class=\"card-footer\">\r\n");
                EndContext();
#line 29 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                if (User.IsInRole("Administrador"))
                {
#line default
#line hidden
                    BeginContext(1086, 28, true);
                    WriteLiteral("                            ");
                    EndContext();
                    BeginContext(1114, 116, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "41fd8f1a7150469a8576081366caebe6", async() => {
                        BeginContext(1217, 9, true);
                        WriteLiteral("Atualizar");
                        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_6.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 31 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                    WriteLiteral(item.CarroId);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1230, 32, true);
                    WriteLiteral("\r\n                            <a");
                    EndContext();
                    BeginWriteAttribute("onclick", " onclick=\"", 1262, "\"", 1333, 9);
                    WriteAttributeValue("", 1272, "ConfirmarExclusao(", 1272, 18, true);
#line 32 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                    WriteAttributeValue("", 1290, item.CarroId, 1290, 13, false);

#line default
#line hidden
                    WriteAttributeValue("", 1303, ",", 1303, 1, true);
                    WriteAttributeValue(" ", 1304, "\'", 1305, 2, true);
#line 32 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                    WriteAttributeValue("", 1306, item.Nome, 1306, 10, false);

#line default
#line hidden
                    WriteAttributeValue("", 1316, "\',", 1316, 2, true);
                    WriteAttributeValue(" ", 1318, "\'", 1319, 2, true);
#line 32 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                    WriteAttributeValue("", 1320, controller, 1320, 11, false);

#line default
#line hidden
                    WriteAttributeValue("", 1331, "\')", 1331, 2, true);
                    EndWriteAttribute();
                    BeginContext(1334, 45, true);
                    WriteLiteral(" class=\"btn btn-outline-danger\">Excluir</a>\r\n");
                    EndContext();
#line 33 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(1463, 28, true);
                    WriteLiteral("                            ");
                    EndContext();
                    BeginContext(1491, 182, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "995c48a03a0e496388fc8a91f6db29b2", async() => {
                        BeginContext(1655, 14, true);
                        WriteLiteral("Alugar veículo");
                        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_8.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-CarroId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 36 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                    WriteLiteral(item.CarroId);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["CarroId"] = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-CarroId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["CarroId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    BeginWriteTagHelperAttribute();
#line 36 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                    WriteLiteral(item.PrecoDiaria);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1673, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 37 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(1702, 88, true);
                WriteLiteral("                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n");
                EndContext();
#line 42 "C:\Aula-124\AluguelCarro\AluguelCarro\Views\Carros\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1797, 10, true);
            WriteLiteral("</div>\r\n\r\n");
            EndContext();
            BeginContext(1807, 33, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "2b57c6467bb447d6b20e06101c977c96", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_11.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1840, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(1867, 727, true);
                WriteLiteral(@"
    <script>

        $(function () {
            $('[data-toggle=""tooltip""]').tooltip();
        })

        function ConfirmarExclusao(id, nome, controller) {
            $("".Nome"").html(nome);

            $("".modal"").modal(""show"");

            $("".btnExcluir"").on('click', function () {
                var url = ""/"" + controller + ""/Delete/"";

                $.ajax({
                    method: ""POST"",
                    url: url,
                    data: { id: id },
                    success: function () {
                        alert(""Registro excluído"");
                        location.reload();
                    }
                })
            })
        }
    </script>

");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(101, 22, true);
                WriteLiteral("    <tr>\r\n        <td>");
                EndContext();
                BeginContext(124, 9, false);
#line 6 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                Write(item.Name);

#line default
#line hidden
                EndContext();
                BeginContext(133, 19, true);
                WriteLiteral("</td>\r\n        <td>");
                EndContext();
                BeginContext(153, 12, false);
#line 7 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                Write(item.Surname);

#line default
#line hidden
                EndContext();
                BeginContext(165, 19, true);
                WriteLiteral("</td>\r\n        <td>");
                EndContext();
                BeginContext(185, 13, false);
#line 8 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                Write(item.Position);

#line default
#line hidden
                EndContext();
                BeginContext(198, 19, true);
                WriteLiteral("</td>\r\n        <td>");
                EndContext();
                BeginContext(218, 15, false);
#line 9 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                Write(item.Department);

#line default
#line hidden
                EndContext();
                BeginContext(233, 19, true);
                WriteLiteral("</td>\r\n        <td>");
                EndContext();
                BeginContext(253, 34, false);
#line 10 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                Write(item.StartDate.ToShortDateString());

#line default
#line hidden
                EndContext();
                BeginContext(287, 36, true);
                WriteLiteral("</td>\r\n        <td class=\"d-flex\">\r\n");
                EndContext();
#line 12 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                if (User.IsInRole(SD.HR.ToString()))
                {
#line default
#line hidden
                    BeginContext(389, 16, true);
                    WriteLiteral("                ");
                    EndContext();
                    BeginContext(405, 135, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dbd0b686539742d2b15cf11b74341a53", async() => {
                        BeginContext(519, 17, true);
                        WriteLiteral("Qayib əlavə et   ");
                        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_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 14 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                    WriteLiteral(item.WorkerId);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(540, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(558, 139, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "39d51551f0a44f958c1b749893995f02", async() => {
                        BeginContext(674, 19, true);
                        WriteLiteral("Məzuniyyət əlavə et");
                        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_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __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-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 15 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                    WriteLiteral(item.WorkerId);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(697, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 16 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                }

#line default
#line hidden
                BeginContext(714, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 18 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                if (User.IsInRole(SD.PayrollSpecalist.ToString()))
                {
#line default
#line hidden
                    BeginContext(796, 16, true);
                    WriteLiteral("                ");
                    EndContext();
                    BeginContext(812, 123, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f219ac53dd3c47e98db8c76a8bcc799a", async() => {
                        BeginContext(927, 4, true);
                        WriteLiteral("Edit");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_6.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 20 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                    WriteLiteral(item.WorkerId);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(935, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(953, 293, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "451a72b4e55b4158b9679d2a8b3d5ac1", async() => {
                        BeginContext(1047, 52, true);
                        WriteLiteral("\r\n                    <input type=\"hidden\" name=\"ID\"");
                        EndContext();
                        BeginWriteAttribute("value", " value=\"", 1099, "\"", 1121, 1);
#line 22 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                        WriteAttributeValue("", 1107, item.WorkerId, 1107, 14, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(1122, 117, true);
                        WriteLiteral(" />\r\n                    <input type=\"submit\" value=\"Delete\" class=\"btn btn-default text-danger\" />\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.Action = (string)__tagHelperAttribute_8.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_6.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_9.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 21 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                    WriteLiteral(item.WorkerId);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1246, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 25 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
                }

#line default
#line hidden
                BeginContext(1263, 26, true);
                WriteLiteral("        </td>\r\n    </tr>\r\n");
                EndContext();
#line 28 "C:\Users\code\source\repos\FinalProject\PayrollSystem\Views\Ajax\LoadWorkers.cshtml"
            }

#line default
#line hidden
        }
Example #15
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(41, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\Weird.Scar\Documents\GitHub\New_NBD\NBD\Views\Employees\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(84, 29, true);
            WriteLiteral("\r\n<h1>Index</h1>\r\n\r\n<p>\r\n    ");
            EndContext();
            BeginContext(113, 59, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3bd98e871de389560a1f458bd97909ee8921759b7072", async() => {
                BeginContext(158, 10, true);
                WriteLiteral("Create New");
                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.Action = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(172, 36, true);
            WriteLiteral("\r\n</p>\r\n<div class=\"card-columns\">\r\n");
            EndContext();
#line 13 "C:\Users\Weird.Scar\Documents\GitHub\New_NBD\NBD\Views\Employees\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(249, 146, true);
                WriteLiteral("        <div class=\"card  align-content-center\" style=\"width:400px\">\r\n            <div class=\"card-body\">\r\n                <h4 class=\"card-title\">");
                EndContext();
                BeginContext(396, 43, false);
#line 17 "C:\Users\Weird.Scar\Documents\GitHub\New_NBD\NBD\Views\Employees\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.FullName));

#line default
#line hidden
                EndContext();
                BeginContext(439, 44, true);
                WriteLiteral("</h4>\r\n                <p class=\"card-text\">");
                EndContext();
                BeginContext(484, 57, false);
#line 18 "C:\Users\Weird.Scar\Documents\GitHub\New_NBD\NBD\Views\Employees\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Department.Description));

#line default
#line hidden
                EndContext();
                BeginContext(541, 6, true);
                WriteLiteral("</p>\r\n");
                EndContext();
#line 19 "C:\Users\Weird.Scar\Documents\GitHub\New_NBD\NBD\Views\Employees\Index.cshtml"
                if (User.IsInRole("Admin, Manager"))
                {
#line default
#line hidden
                    BeginContext(621, 20, true);
                    WriteLiteral("                    ");
                    EndContext();
                    BeginContext(643, 23, true);
                    WriteLiteral("|\r\n                    ");
                    EndContext();
                    BeginContext(666, 85, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3bd98e871de389560a1f458bd97909ee8921759b10254", async() => {
                        BeginContext(743, 4, true);
                        WriteLiteral("Edit");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 22 "C:\Users\Weird.Scar\Documents\GitHub\New_NBD\NBD\Views\Employees\Index.cshtml"
                    WriteLiteral(item.ID);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(751, 22, true);
                    WriteLiteral("\r\n                    ");
                    EndContext();
                    BeginContext(773, 86, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3bd98e871de389560a1f458bd97909ee8921759b12716", async() => {
                        BeginContext(849, 6, true);
                        WriteLiteral("Delete");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 23 "C:\Users\Weird.Scar\Documents\GitHub\New_NBD\NBD\Views\Employees\Index.cshtml"
                    WriteLiteral(item.ID);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(859, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 24 "C:\Users\Weird.Scar\Documents\GitHub\New_NBD\NBD\Views\Employees\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(882, 20, true);
                WriteLiteral("\r\n\r\n                ");
                EndContext();
                BeginContext(902, 91, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3bd98e871de389560a1f458bd97909ee8921759b15305", async() => {
                    BeginContext(982, 7, true);
                    WriteLiteral("Details");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 28 "C:\Users\Weird.Scar\Documents\GitHub\New_NBD\NBD\Views\Employees\Index.cshtml"
                WriteLiteral(item.ID);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(993, 38, true);
                WriteLiteral("\r\n            </div>\r\n        </div>\r\n");
                EndContext();
#line 31 "C:\Users\Weird.Scar\Documents\GitHub\New_NBD\NBD\Views\Employees\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1038, 8, true);
            WriteLiteral("</div>\r\n");
            EndContext();
            BeginContext(1046, 95, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3bd98e871de389560a1f458bd97909ee8921759b18028", async() => {
                BeginContext(1125, 12, true);
                WriteLiteral("Back to Home");
                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.Area = (string)__tagHelperAttribute_7.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_8.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_9.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1141, 6, true);
            WriteLiteral("\r\n\r\n\r\n");
            EndContext();
        }
Example #16
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 25, true);
            WriteLiteral("<!DOCTYPE html>\r\n<html>\r\n");
            EndContext();
            BeginContext(25, 530, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "35e682875888410685df04179dc9c8dd", async() => {
                BeginContext(31, 178, true);
                WriteLiteral("\r\n    <meta charset=\"utf-8\" />\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\r\n    <title>Gençlerin Blogu</title>\r\n\r\n    <!--Css Including-->\r\n    ");
                EndContext();
                BeginContext(209, 78, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "19f745116cad47d2b3f68c532048a63d", 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);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(287, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(293, 80, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8b3daba835984ad5af95a06a488a0e18", 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_2);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(373, 175, true);
                WriteLiteral("\r\n\r\n    <!--Max image size-->\r\n    <style>\r\n        img {\r\n            max-width: 100%;\r\n        }\r\n\r\n        iframe {\r\n            max-width: 100%;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(555, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(557, 6213, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d28340607d24413ba5ac7c88bc7ada8d", async() => {
                BeginContext(563, 126, true);
                WriteLiteral("\r\n    <!--Nav-->\r\n    <nav class=\"navbar navbar-expand-lg navbar-dark bg-dark\">\r\n        <div class=\"container\">\r\n            ");
                EndContext();
                BeginContext(689, 84, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9c517c02a34d4cb7bc4688fc46ab5b0e", async() => {
                    BeginContext(754, 15, true);
                    WriteLiteral("Gençlerin Blogu");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(773, 407, true);
                WriteLiteral(@"
            <button class=""navbar-toggler"" type=""button"" data-toggle=""collapse"" data-target=""#navbarResponsive"" aria-controls=""navbarResponsive"" aria-expanded=""false"" aria-label=""Toggle navigation"">
                <span class=""navbar-toggler-icon""></span>
            </button>
            <div class=""collapse navbar-collapse"" id=""navbarResponsive"">
                <ul class=""navbar-nav ml-auto"">
");
                EndContext();
#line 33 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"

                if (!User.Identity.IsAuthenticated)
                {
#line default
#line hidden
                    BeginContext(1292, 90, true);
                    WriteLiteral("                            <li class=\"nav-item-active\">\r\n                                ");
                    EndContext();
                    BeginContext(1382, 77, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ff71918a4104066847a020fd90d2642", async() => {
                        BeginContext(1449, 6, true);
                        WriteLiteral("Üye Ol");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_7.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_8.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1459, 120, true);
                    WriteLiteral("\r\n                            </li>\r\n                            <li class=\"nav-item\">\r\n                                ");
                    EndContext();
                    BeginContext(1579, 77, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fa88c3e9a1f44dac8328b9014712fa31", async() => {
                        BeginContext(1643, 9, true);
                        WriteLiteral("Giriş Yap");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_7.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_9.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1656, 37, true);
                    WriteLiteral("\r\n                            </li>\r\n");
                    EndContext();
#line 42 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                }
                else
                {
#line default
#line hidden
#line 45 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                    if (User.IsInRole("Admin") || User.IsInRole("Author"))
                    {
#line default
#line hidden
                        BeginContext(1893, 98, true);
                        WriteLiteral("                                <li class=\"nav-item-active\">\r\n                                    ");
                        EndContext();
                        BeginContext(1991, 78, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9fbd2704780d41c48ef9af477af7139d", async() => {
                            BeginContext(2053, 12, true);
                            WriteLiteral("Admin Paneli");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_10.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2069, 41, true);
                        WriteLiteral("\r\n                                </li>\r\n");
                        EndContext();
#line 50 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                    }

#line default
#line hidden
                    BeginContext(2141, 83, true);
                    WriteLiteral("                            <li class=\"nav-item\">\r\n                                ");
                    EndContext();
                    BeginContext(2224, 76, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8dea2d891f7e40f1bd6965359359f95c", async() => {
                        BeginContext(2290, 6, true);
                        WriteLiteral("Profil");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_7.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_11.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2300, 120, true);
                    WriteLiteral("\r\n                            </li>\r\n                            <li class=\"nav-item\">\r\n                                ");
                    EndContext();
                    BeginContext(2420, 78, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fc66268706f24e9b891520ba16330e8a", async() => {
                        BeginContext(2485, 9, true);
                        WriteLiteral("Çıkış Yap");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_7.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2498, 37, true);
                    WriteLiteral("\r\n                            </li>\r\n");
                    EndContext();
#line 57 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                }


#line default
#line hidden
                BeginContext(2585, 77, true);
                WriteLiteral("                </ul>\r\n            </div>\r\n        </div>\r\n    </nav>\r\n\r\n    ");
                EndContext();
                BeginContext(2662, 40, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "2f757ae25a6e48318edd280e8807f700", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2702, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
                BeginContext(2731, 543, true);
                WriteLiteral(@"    <div class='row m-0'>
        <div class='jumbotron jumbotron-fluid img m-0 p-0 d-flex justify-content-center align-items-center' style='width: 100%; background-image: url(""/images/jumbotronimage/jumbotron-image.jpg""); height: 45.5vh; min-height: 30.5vmin; background-repeat: no-repeat; background-size: cover; background-position: center center;'>
            <div class='col-12 mb-md-2 mx-auto text-center'>
                <h1 class='h1-reponsive text-success text-uppercase font-weight-bold mb-0 pt-md-5 pt-5'>
                    ");
                EndContext();
                BeginContext(3274, 127, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9f6cb40a68c4453a8578c080e357394f", async() => {
                    BeginContext(3318, 79, true);
                    WriteLiteral(" <strong class=\'text-capitalize\' style=\"color:white;\">Gençlerin Blogu</strong> ");
                    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_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3401, 217, true);
                WriteLiteral("\r\n                </h1>\r\n                <hr class=\'hr-light my-2 d-none d-md-block\' style=\'width: 70%; border: 1.5px solid white;\' />\r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n    <!--Displaying Message-->\r\n");
                EndContext();
#line 79 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                if (TempData["Message"] != null)
                {
#line default
#line hidden
                    BeginContext(3664, 77, true);
                    WriteLiteral("        <div class=\"container\" style=\"margin-top:10px; text-align:center;\">\r\n");
                    EndContext();
#line 82 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"

                    var classString = "alert alert-dismissible alert-" + TempData["MessageState"];

#line default
#line hidden
                    BeginContext(3853, 20, true);
                    WriteLiteral("                <div");
                    EndContext();
                    BeginWriteAttribute("class", " class=\"", 3873, "\"", 3893, 1);
#line 84 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                    WriteAttributeValue("", 3881, classString, 3881, 12, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(3894, 14, true);
                    WriteLiteral(" role=\"alert\">");
                    EndContext();
                    BeginContext(3909, 19, false);
#line 84 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                    Write(TempData["message"]);

#line default
#line hidden
                    EndContext();
                    BeginContext(3928, 8, true);
                    WriteLiteral("</div>\r\n");
                    EndContext();
                    BeginContext(3951, 16, true);
                    WriteLiteral("        </div>\r\n");
                    EndContext();
#line 87 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                }

#line default
#line hidden
                BeginContext(3974, 143, true);
                WriteLiteral("\r\n    <div class=\"container body-content\">\r\n        <div class=\"row\">\r\n            <!--Main Content-->\r\n            <div class=\"col-md-8 my-4\">");
                EndContext();
                BeginContext(4118, 12, false);
#line 92 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                Write(RenderBody());

#line default
#line hidden
                EndContext();
                BeginContext(4130, 284, true);
                WriteLiteral(@"</div>

            <!--Right Content-->
            <div class=""col-md-4"">
                <!-- Search Widget -->
                <div class=""card my-4"">
                    <h5 class=""card-header"">Ara</h5>
                    <div class=""card-body"">
                        ");
                EndContext();
                BeginContext(4414, 511, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "883b035e53bc40e88e10c68680471382", async() => {
                    BeginContext(4462, 456, true);
                    WriteLiteral(@"
                            <div class=""input-group"">
                                <input type=""text"" id=""searchFilter"" name=""searchFilter"" class=""form-control"" placeholder=""Ara..."">
                                <span class=""input-group-append"">
                                    <button class=""btn btn-secondary"" type=""submit"">Ara</button>
                                </span>
                            </div>
                        ");
                    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.Controller = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(4925, 445, true);
                WriteLiteral(@"
                    </div>
                </div>

                <!-- Categories Widget -->
                <div class=""card my-4"">
                    <h5 class=""card-header"">Kategoriler</h5>
                    <div class=""card-body"">
                        <div class=""row"">
                            <div class=""col-lg-12"">
                                <ul class=""list-unstyled mb-0"">
                                    ");
                EndContext();
                BeginContext(5371, 43, false);
#line 118 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                Write(await Component.InvokeAsync("CategoryList"));

#line default
#line hidden
                EndContext();
                BeginContext(5414, 503, true);
                WriteLiteral(@"
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Side Widget -->
                <div class=""card my-4"">
                    <h5 class=""card-header"">En Çok Tıklananlar</h5>
                    <div class=""card-body"">
                        <div class=""row"">
                            <div class=""col-lg-12 list-unstyled mb-0"">
                                ");
                EndContext();
                BeginContext(5918, 43, false);
#line 131 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                Write(await Component.InvokeAsync("GetTop3Posts"));

#line default
#line hidden
                EndContext();
                BeginContext(5961, 321, true);
                WriteLiteral(@"
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!--Footer-->
        <hr />
        <footer>
            <p>&copy; 2021 - Gençlerin Blogu</p>
        </footer>
    </div>

    <!-- Footer -->
");
                EndContext();
                BeginContext(6305, 4, true);
                WriteLiteral("    ");
                EndContext();
                BeginContext(6309, 46, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "322518e6eac54bd0aa9fdb7fd9147849", 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_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(6355, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(6361, 67, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "37fde000655d471a9cf4249ca9ace245", 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_16);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(6428, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(6434, 68, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bc79fa10d444423f86b6004b347278aa", 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_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(6502, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(6508, 94, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a8c6ed72e2b84224922649cdc60cd770", 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_18);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(6602, 117, true);
                WriteLiteral("\r\n    <script src=\"/ckeditor/highlight/highlight.pack.js\"></script>\r\n    <script>hljs.highlightAll()</script>\r\n\r\n    ");
                EndContext();
                BeginContext(6720, 41, false);
#line 155 "C:\Users\yiba_\Desktop\YazilimNotlarim\OnemliProjeler\Blogger\Blogger.WebUI\Views\Shared\_Layout.cshtml"
                Write(RenderSection("Scripts", required: false));

#line default
#line hidden
                EndContext();
                BeginContext(6761, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(6770, 11, true);
            WriteLiteral("\r\n</html>\r\n");
            EndContext();
        }
Example #17
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(45, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(88, 23, true);
            WriteLiteral("\r\n<h1>Categories</h1>\r\n");
            EndContext();
#line 8 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
            if (User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(144, 17, true);
                WriteLiteral("    <p>\r\n        ");
                EndContext();
                BeginContext(161, 37, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a2cf4a6e01f7dc6809842debc8165e7fa57fb3e5890", async() => {
                    BeginContext(184, 10, true);
                    WriteLiteral("Create New");
                    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_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(198, 12, true);
                WriteLiteral("\r\n    </p>\r\n");
                EndContext();
#line 13 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(213, 84, true);
            WriteLiteral("<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(298, 40, false);
#line 18 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Name));

#line default
#line hidden
            EndContext();
            BeginContext(338, 86, true);
            WriteLiteral("\r\n            </th>\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 24 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(473, 60, true);
                WriteLiteral("            <tr>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(533, 135, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a2cf4a6e01f7dc6809842debc8165e7fa57fb3e8371", async() => {
                    BeginContext(625, 39, false);
#line 28 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.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);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 28 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
                WriteLiteral(item.Id);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(668, 25, true);
                WriteLiteral("\r\n                </td>\r\n");
                EndContext();
#line 30 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
                if (User.IsInRole("Admin"))
                {
#line default
#line hidden
                    BeginContext(758, 42, true);
                    WriteLiteral("                <td>\r\n                    ");
                    EndContext();
                    BeginContext(800, 53, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a2cf4a6e01f7dc6809842debc8165e7fa57fb3e11534", async() => {
                        BeginContext(845, 4, true);
                        WriteLiteral("Edit");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 33 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
                    WriteLiteral(item.Id);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(853, 24, true);
                    WriteLiteral(" |\r\n                    ");
                    EndContext();
                    BeginContext(877, 59, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a2cf4a6e01f7dc6809842debc8165e7fa57fb3e13880", async() => {
                        BeginContext(925, 7, true);
                        WriteLiteral("Details");
                        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_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 34 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
                    WriteLiteral(item.Id);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(936, 24, true);
                    WriteLiteral(" |\r\n                    ");
                    EndContext();
                    BeginContext(960, 57, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a2cf4a6e01f7dc6809842debc8165e7fa57fb3e16232", async() => {
                        BeginContext(1007, 6, true);
                        WriteLiteral("Delete");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 35 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
                    WriteLiteral(item.Id);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1017, 24, true);
                    WriteLiteral(" |\r\n                    ");
                    EndContext();
                    BeginContext(1041, 86, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a2cf4a6e01f7dc6809842debc8165e7fa57fb3e18585", async() => {
                        BeginContext(1113, 10, true);
                        WriteLiteral("Add liquid");
                        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_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_6.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 36 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
                    WriteLiteral(item.Id);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1127, 25, true);
                    WriteLiteral("\r\n                </td>\r\n");
                    EndContext();
#line 38 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(1171, 19, true);
                WriteLiteral("            </tr>\r\n");
                EndContext();
#line 40 "C:\Users\Azatka\source\repos\ShopMvc\ShopMvc\Views\Categories\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1201, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(87, 8, true);
            WriteLiteral("\r\n\r\n\r\n\r\n");
            EndContext();
#line 6 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
            if (User.IsInRole("admin"))
            {
#line default
#line hidden
                BeginContext(128, 4, true);
                WriteLiteral("    ");
                EndContext();
                BeginContext(132, 52, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bed4fe20bfe34ba48e3145f7c59edd23", async() => {
                    BeginContext(159, 21, true);
                    WriteLiteral("Добавить пользователя");
                    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.Route = (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(184, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 9 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
            }

#line default
#line hidden
            BeginContext(189, 107, true);
            WriteLiteral("<table class=\"table\" id=\"body\">\r\n    <tbody>\r\n        <tr><th>Email</th><th>Имя</th><th>Возраст</th></tr>\r\n");
            EndContext();
#line 13 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
            foreach (var user in Model.Data)
            {
#line default
#line hidden
#line 15 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                if (User.Identity.Name == @user.Email || User.IsInRole("admin"))
                {
#line default
#line hidden
                    BeginContext(444, 46, true);
                    WriteLiteral("                <tr>\r\n                    <td>");
                    EndContext();
                    BeginContext(491, 10, false);
#line 18 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                    Write(user.Email);

#line default
#line hidden
                    EndContext();
                    BeginContext(501, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(533, 9, false);
#line 19 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                    Write(user.Name);

#line default
#line hidden
                    EndContext();
                    BeginContext(542, 31, true);
                    WriteLiteral("</td>\r\n                    <td>");
                    EndContext();
                    BeginContext(574, 8, false);
#line 20 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                    Write(user.Age);

#line default
#line hidden
                    EndContext();
                    BeginContext(582, 57, true);
                    WriteLiteral("</td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(639, 1212, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2f95ced4fb2d4ba9b3fdd29e93d09a61", async() => {
                        BeginContext(703, 4, true);
                        WriteLiteral("\r\n\r\n");
                        EndContext();
#line 24 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                        if (User.Identity.Name == @user.Email || User.IsInRole("admin"))
                        {
#line default
#line hidden
                            BeginContext(833, 32, true);
                            WriteLiteral("                                ");
                            EndContext();
                            BeginContext(865, 92, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "412e51c9a4d34170a4ce5cc51520e062", async() => {
                                BeginContext(945, 8, true);
                                WriteLiteral("Изменить");
                                EndContext();
                            }
                                                                                        );
                            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Route = (string)__tagHelperAttribute_2.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                            if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                            {
                                throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                            }
                            BeginWriteTagHelperAttribute();
#line 26 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                            WriteLiteral(user.Id);

#line default
#line hidden
                            __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
                            __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(957, 2, true);
                            WriteLiteral("\r\n");
                            EndContext();
#line 27 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                            if (!User.IsInRole("admin"))
                            {
#line default
#line hidden
                                BeginContext(1056, 36, true);
                                WriteLiteral("                                    ");
                                EndContext();
                                BeginContext(1092, 104, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6e15d99f2dcc483e8316d2d8938477c5", async() => {
                                    BeginContext(1178, 14, true);
                                    WriteLiteral("Сменить пароль");
                                    EndContext();
                                }
                                                                                            );
                                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Route = (string)__tagHelperAttribute_3.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                                {
                                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                                }
                                BeginWriteTagHelperAttribute();
#line 29 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                                WriteLiteral(user.Id);

#line default
#line hidden
                                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
                                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1196, 2, true);
                                WriteLiteral("\r\n");
                                EndContext();
#line 30 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                            }
                            else
                            {
#line default
#line hidden
                                BeginContext(1306, 36, true);
                                WriteLiteral("                                    ");
                                EndContext();
                                BeginContext(1342, 110, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1a1aa6ec9f844e54ab214bb700f5a5aa", async() => {
                                    BeginContext(1434, 14, true);
                                    WriteLiteral("Сменить пароль");
                                    EndContext();
                                }
                                                                                            );
                                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Route = (string)__tagHelperAttribute_4.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                                {
                                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                                }
                                BeginWriteTagHelperAttribute();
#line 33 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                                WriteLiteral(user.Id);

#line default
#line hidden
                                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
                                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1452, 2, true);
                                WriteLiteral("\r\n");
                                EndContext();
#line 34 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                            }
                        }

#line default
#line hidden
                        BeginContext(1522, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 38 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                        if (User.IsInRole("admin"))
                        {
#line default
#line hidden
                            BeginContext(1613, 174, true);
                            WriteLiteral("                                <button type=\"submit\" class=\"btn btn-sm btn-danger\">\r\n                                    Удалить\r\n                                </button>\r\n");
                            EndContext();
#line 43 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                        }

#line default
#line hidden
                        BeginContext(1818, 26, true);
                        WriteLiteral("\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.Action = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 22 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                    WriteLiteral(user.Id);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    __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(1851, 52, true);
                    WriteLiteral("\r\n                    </td>\r\n                </tr>\r\n");
                    EndContext();
#line 48 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                }

#line default
#line hidden
#line 48 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
            }

#line default
#line hidden
            BeginContext(1929, 97, true);
            WriteLiteral("        </tbody>\r\n    <tfoot>\r\n        <tr>\r\n            <td colspan=\"3\">\r\n                <h4>\r\n");
            EndContext();
#line 55 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
            for (int i = 1; i <= Model.NumberOfPages; i++)
            {
                if (i == Model.CurrentPage)
                {
#line default
#line hidden
                    BeginContext(2227, 1, false);
#line 59 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                    Write(i);

#line default
#line hidden
                    EndContext();
#line 59 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(2314, 60, true);
                    WriteLiteral("                            <a class=\"page-number\" href=\"#\">");
                    EndContext();
                    BeginContext(2375, 1, false);
#line 63 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                    Write(i);

#line default
#line hidden
                    EndContext();
                    BeginContext(2376, 6, true);
                    WriteLiteral("</a>\r\n");
                    EndContext();
#line 64 "E:\ИГИ-2019\SystemOfTestKnowledge\SystemOfTestKnowledge\Views\Users\RouteListAjax.cshtml"
                }
            }

#line default
#line hidden
            BeginContext(2432, 86, true);
            WriteLiteral("                    <h4>\r\n            </td>\r\n        </tr>\r\n    </tfoot>\r\n</table>\r\n\r\n");
            EndContext();
        }
Example #19
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 3 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"

            ViewBag.Title = "Update User";

#line default
#line hidden
            BeginContext(95, 3288, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3eda5ca5997d4eeea0e064e711a23c6f39de231d5317", async() => {
                BeginContext(133, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(139, 36, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3eda5ca5997d4eeea0e064e711a23c6f39de231d5702", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
#line 7 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Id);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, 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(175, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(181, 38, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3eda5ca5997d4eeea0e064e711a23c6f39de231d7509", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
#line 8 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Name);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, 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(219, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(225, 50, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3eda5ca5997d4eeea0e064e711a23c6f39de231d9318", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
#line 9 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.RegisterDateTime);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, 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(275, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(281, 51, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3eda5ca5997d4eeea0e064e711a23c6f39de231d11139", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
#line 10 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.LastLogInDateTime);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, 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(332, 586, true);
                WriteLiteral(@"

    <div class=""container col-6 offset-3"" style=""margin-top:120px"">
        <div class=""card border-info"">
            <div class=""card-header text-white bg-info"">
                <strong>Update User</strong>
            </div>
            <div class=""card-body"">
                <table class=""table table-bordered table-striped"">
                    <tr>
                        <th>Property</th>
                        <th>Value</th>
                    </tr>
                    <tr>
                        <td><strong>ID</strong></td>
                        <td>");
                EndContext();
                BeginContext(919, 8, false);
#line 25 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                Write(Model.Id);

#line default
#line hidden
                EndContext();
                BeginContext(927, 144, true);
                WriteLiteral("</td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td><strong>Name</strong></td>\r\n                        <td>");
                EndContext();
                BeginContext(1072, 10, false);
#line 29 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                Write(Model.Name);

#line default
#line hidden
                EndContext();
                BeginContext(1082, 34, true);
                WriteLiteral("</td>\r\n                    </tr>\r\n");
                EndContext();
#line 31 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                if (!User.IsInRole(Roles.Administrator))
                {
#line default
#line hidden
                    BeginContext(1202, 134, true);
                    WriteLiteral("                        <tr>\r\n                            <td><strong>Current Password</strong></td>\r\n                            <td>");
                    EndContext();
                    BeginContext(1336, 72, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3eda5ca5997d4eeea0e064e711a23c6f39de231d14893", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_2.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
#line 35 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.CurrentPassword);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, 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(1408, 38, true);
                    WriteLiteral("</td>\r\n                        </tr>\r\n");
                    EndContext();
#line 37 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                }

#line default
#line hidden
                BeginContext(1469, 118, true);
                WriteLiteral("                    <tr>\r\n                        <td><strong>New Password</strong></td>\r\n                        <td>");
                EndContext();
                BeginContext(1587, 65, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3eda5ca5997d4eeea0e064e711a23c6f39de231d17212", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
#line 40 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Password);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, 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(1652, 159, true);
                WriteLiteral("</td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td><strong>Repeat New Password</strong></td>\r\n                        <td>");
                EndContext();
                BeginContext(1811, 71, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3eda5ca5997d4eeea0e064e711a23c6f39de231d19277", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
#line 44 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.RepeatPassword);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, 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(1882, 151, true);
                WriteLiteral("</td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td><strong>Description</strong></td>\r\n                        <td>");
                EndContext();
                BeginContext(2033, 64, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("textarea", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3eda5ca5997d4eeea0e064e711a23c6f39de231d21340", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_TextAreaTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.TextAreaTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_TextAreaTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
#line 48 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_TextAreaTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Description);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_TextAreaTagHelper.For, 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(2097, 34, true);
                WriteLiteral("</td>\r\n                    </tr>\r\n");
                EndContext();
#line 50 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                if (User.IsInRole(Roles.Administrator) && User.Identity.Name != Model.Name)
                {
#line default
#line hidden
                    BeginContext(2252, 131, true);
                    WriteLiteral("                        <tr>\r\n                            <td><strong>Administrator</strong></td>\r\n                            <td>");
                    EndContext();
                    BeginContext(2383, 51, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3eda5ca5997d4eeea0e064e711a23c6f39de231d23570", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
#line 54 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.IsAdministrator);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, 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(2434, 162, true);
                    WriteLiteral("</td>\r\n                        </tr>\r\n                        <tr>\r\n                            <td><strong>Locked</strong></td>\r\n                            <td>");
                    EndContext();
                    BeginContext(2596, 44, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3eda5ca5997d4eeea0e064e711a23c6f39de231d25558", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
#line 58 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.IsLocked);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, 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(2640, 38, true);
                    WriteLiteral("</td>\r\n                        </tr>\r\n");
                    EndContext();
#line 60 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                }

#line default
#line hidden
                BeginContext(2701, 119, true);
                WriteLiteral("                    <tr>\r\n                        <td><strong>Register Date</strong></td>\r\n                        <td>");
                EndContext();
                BeginContext(2821, 42, false);
#line 63 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                Write(Model.RegisterDateTime.ToShortDateString());

#line default
#line hidden
                EndContext();
                BeginContext(2863, 150, true);
                WriteLiteral("</td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td><strong>Last Login</strong></td>\r\n                        <td>");
                EndContext();
                BeginContext(3014, 43, false);
#line 67 "C:\Users\ModalGR\source\repos\CoreBB\CoreBB.Web\Views\User\Edit.cshtml"
                Write(Model.LastLogInDateTime.ToShortDateString());

#line default
#line hidden
                EndContext();
                BeginContext(3057, 319, true);
                WriteLiteral(@"</td>
                    </tr>
                    <tr>
                        <td><strong>Update</strong></td>
                        <td><input type=""submit"" class=""btn-sm btn-success"" value=""Update"" /></td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
");
                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.Action = (string)__tagHelperAttribute_4.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_5.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(3383, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(39, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 4 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"

            ViewData["Title"] = "Home Page";

#line default
#line hidden
            BeginContext(140, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(155, 83, true);
            WriteLiteral("<div class=\"text-center\">\r\n    <h1 class=\"display-4\">Welcome</h1>\r\n\r\n</div>\r\n\r\n\r\n\r\n");
            EndContext();
#line 16 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
            if (sigInManager.IsSignedIn(User) && User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(304, 261, true);
                WriteLiteral(@"    <table class=""table"">
        <thead>
            <tr>
                <th scope=""col"">#</th>
                <th scope=""col"">Role</th>
                <th scope=""col"">Links</th>

            </tr>
        </thead>
        <tbody>
            

");
                EndContext();
#line 30 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                foreach (var items in ViewBag.Admin)
                {
#line default
#line hidden
                    BeginContext(639, 78, true);
                    WriteLiteral("            <tr>\r\n                <th scope=\"row\">1</th>\r\n                <td>");
                    EndContext();
                    BeginContext(718, 14, false);
#line 34 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                    Write(items.RoleName);

#line default
#line hidden
                    EndContext();
                    BeginContext(732, 39, true);
                    WriteLiteral("</td>\r\n                <td><a href=\"#\">");
                    EndContext();
                    BeginContext(772, 14, false);
#line 35 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                    Write(items.LinkName);

#line default
#line hidden
                    EndContext();
                    BeginContext(786, 34, true);
                    WriteLiteral("</a></td>\r\n\r\n\r\n            </tr>\r\n");
                    EndContext();
#line 39 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(839, 41, true);
                WriteLiteral("               \r\n</tbody>\r\n    </table>\r\n");
                EndContext();
#line 43 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
            }
            else if (sigInManager.IsSignedIn(User) && User.IsInRole("Finance_Admin"))
            {
#line default
#line hidden
                BeginContext(961, 247, true);
                WriteLiteral("    <table class=\"table\">\r\n        <thead>\r\n            <tr>\r\n                <th scope=\"col\">#</th>\r\n                <th scope=\"col\">Role</th>\r\n                <th scope=\"col\">Links</th>\r\n\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n\r\n");
                EndContext();
#line 57 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                foreach (var items in ViewBag.Finance)
                {
#line default
#line hidden
                    BeginContext(1276, 90, true);
                    WriteLiteral("                <tr>\r\n                    <th scope=\"row\">1</th>\r\n                    <td>");
                    EndContext();
                    BeginContext(1367, 14, false);
#line 61 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                    Write(items.RoleName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1381, 43, true);
                    WriteLiteral("</td>\r\n                    <td><a href=\"#\">");
                    EndContext();
                    BeginContext(1425, 14, false);
#line 62 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                    Write(items.LinkName);

#line default
#line hidden
                    EndContext();
                    BeginContext(1439, 38, true);
                    WriteLiteral("</a></td>\r\n\r\n\r\n                </tr>\r\n");
                    EndContext();
#line 66 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(1492, 32, true);
                WriteLiteral("        </tbody>\r\n    </table>\r\n");
                EndContext();
#line 69 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
            }
            else if (sigInManager.IsSignedIn(User) && User.IsInRole("Sales_Admin"))
            {
#line default
#line hidden
                BeginContext(1603, 247, true);
                WriteLiteral("    <table class=\"table\">\r\n        <thead>\r\n            <tr>\r\n                <th scope=\"col\">#</th>\r\n                <th scope=\"col\">Role</th>\r\n                <th scope=\"col\">Links</th>\r\n\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n\r\n");
                EndContext();
#line 83 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                foreach (var items in ViewBag.Sales)
                {
#line default
#line hidden
                    BeginContext(1916, 90, true);
                    WriteLiteral("                <tr>\r\n                    <th scope=\"row\">1</th>\r\n                    <td>");
                    EndContext();
                    BeginContext(2007, 14, false);
#line 87 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                    Write(items.RoleName);

#line default
#line hidden
                    EndContext();
                    BeginContext(2021, 43, true);
                    WriteLiteral("</td>\r\n                    <td><a href=\"#\">");
                    EndContext();
                    BeginContext(2065, 14, false);
#line 88 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                    Write(items.LinkName);

#line default
#line hidden
                    EndContext();
                    BeginContext(2079, 38, true);
                    WriteLiteral("</a></td>\r\n\r\n\r\n                </tr>\r\n");
                    EndContext();
#line 92 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(2132, 32, true);
                WriteLiteral("        </tbody>\r\n    </table>\r\n");
                EndContext();
#line 95 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
            }
            else if (sigInManager.IsSignedIn(User) && User.IsInRole("Hr_Admin"))
            {
#line default
#line hidden
                BeginContext(2240, 247, true);
                WriteLiteral("    <table class=\"table\">\r\n        <thead>\r\n            <tr>\r\n                <th scope=\"col\">#</th>\r\n                <th scope=\"col\">Role</th>\r\n                <th scope=\"col\">Links</th>\r\n\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n\r\n");
                EndContext();
#line 109 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                foreach (var items in ViewBag.Hr)
                {
#line default
#line hidden
                    BeginContext(2550, 90, true);
                    WriteLiteral("                <tr>\r\n                    <th scope=\"row\">1</th>\r\n                    <td>");
                    EndContext();
                    BeginContext(2641, 14, false);
#line 113 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                    Write(items.RoleName);

#line default
#line hidden
                    EndContext();
                    BeginContext(2655, 43, true);
                    WriteLiteral("</td>\r\n                    <td><a href=\"#\">");
                    EndContext();
                    BeginContext(2699, 14, false);
#line 114 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                    Write(items.LinkName);

#line default
#line hidden
                    EndContext();
                    BeginContext(2713, 38, true);
                    WriteLiteral("</a></td>\r\n\r\n\r\n                </tr>\r\n");
                    EndContext();
#line 118 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(2766, 32, true);
                WriteLiteral("        </tbody>\r\n    </table>\r\n");
                EndContext();
#line 121 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
            }
            else if (sigInManager.IsSignedIn(User) && User.IsInRole("Engg_Admin"))
            {
#line default
#line hidden
                BeginContext(2876, 247, true);
                WriteLiteral("    <table class=\"table\">\r\n        <thead>\r\n            <tr>\r\n                <th scope=\"col\">#</th>\r\n                <th scope=\"col\">Role</th>\r\n                <th scope=\"col\">Links</th>\r\n\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n\r\n");
                EndContext();
#line 135 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                foreach (var items in ViewBag.Engg)
                {
#line default
#line hidden
                    BeginContext(3188, 90, true);
                    WriteLiteral("                <tr>\r\n                    <th scope=\"row\">1</th>\r\n                    <td>");
                    EndContext();
                    BeginContext(3279, 14, false);
#line 139 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                    Write(items.RoleName);

#line default
#line hidden
                    EndContext();
                    BeginContext(3293, 43, true);
                    WriteLiteral("</td>\r\n                    <td><a href=\"#\">");
                    EndContext();
                    BeginContext(3337, 14, false);
#line 140 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                    Write(items.LinkName);

#line default
#line hidden
                    EndContext();
                    BeginContext(3351, 38, true);
                    WriteLiteral("</a></td>\r\n\r\n\r\n                </tr>\r\n");
                    EndContext();
#line 144 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(3404, 32, true);
                WriteLiteral("        </tbody>\r\n    </table>\r\n");
                EndContext();
#line 147 "C:\Users\akaro\Documents\GitHub\ASP.NET Core Projects\Admin-Portal\Admin-Portal\Views\Home\Index.cshtml"
            }

#line default
#line hidden
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(97, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 4 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"

            ViewData["Title"] = "Project View";


#line default
#line hidden
            BeginContext(149, 13, true);
            WriteLiteral("\r\n<div>\r\n    ");
            EndContext();
            BeginContext(162, 72, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a133d11d54d13eb51f1b39416a0c7a1202d219a09882", 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);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(234, 12, true);
            WriteLiteral("\r\n</div>\r\n\r\n");
            EndContext();
#line 13 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"
            if (User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(279, 65, true);
                WriteLiteral("    <div style=\"display:flex;justify-content:flex-end\">\r\n        ");
                EndContext();
                BeginContext(344, 46, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133d11d54d13eb51f1b39416a0c7a1202d219a011585", async() => {
                    BeginContext(371, 15, true);
                    WriteLiteral("Add New Project");
                    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_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(390, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
#line 18 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"
            }

#line default
#line hidden
            BeginContext(407, 71, true);
            WriteLiteral("<div style=\"display:flex;width:1200px; justify-content:space-around\">\r\n");
            EndContext();
#line 20 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(521, 135, true);
                WriteLiteral("        <div style=\"display:block;width:250px;height:100px;background-color:aquamarine;padding:70px 0;text-align:center\">\r\n            ");
                EndContext();
                BeginContext(656, 145, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133d11d54d13eb51f1b39416a0c7a1202d219a013746", async() => {
                    BeginContext(718, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(737, 46, false);
#line 25 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"
                    Write(Html.DisplayFor(modelItem => item.ProjectName));

#line default
#line hidden
                    EndContext();
                    BeginContext(783, 14, true);
                    WriteLiteral("\r\n            ");
                    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_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 24 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"
                WriteLiteral(item.ProjectId);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(801, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 27 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"
                if (User.IsInRole("Admin"))
                {
#line default
#line hidden
                    BeginContext(860, 91, true);
                    WriteLiteral("                <p></p>\r\n                <span><                  </span>\r\n                ");
                    EndContext();
                    BeginContext(951, 67, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133d11d54d13eb51f1b39416a0c7a1202d219a016958", async() => {
                        BeginContext(1010, 4, true);
                        WriteLiteral("Edit");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 31 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"
                    WriteLiteral(item.ProjectId);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1018, 35, true);
                    WriteLiteral(" <span> | </span>\r\n                ");
                    EndContext();
                    BeginContext(1053, 71, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133d11d54d13eb51f1b39416a0c7a1202d219a019362", async() => {
                        BeginContext(1114, 6, true);
                        WriteLiteral("Delete");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 32 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"
                    WriteLiteral(item.ProjectId);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1124, 19, true);
                    WriteLiteral(" <span> > </span>\r\n");
                    EndContext();
#line 33 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"
                }

#line default
#line hidden
                BeginContext(1160, 16, true);
                WriteLiteral("        </div>\r\n");
                EndContext();
#line 36 "C:\Anish spring19\IP\Project\Anish_Nesarkar_Final_Project\Final4\Final4\Views\Achievement\ProjectView.cshtml"
            }

#line default
#line hidden
            BeginContext(1185, 211, true);
            WriteLiteral("\r\n</div>\r\n\r\n\r\n<div style=\"display:block;height:30px\">\r\n</div>\r\n\r\n<footer style=\"bottom:0;width:100%;position:absolute;height:2.5rem;\">\r\n\r\n    <a href=\"https://www.linkedin.com/in/anishnesarkar/\" target=\"_blank\">");
            EndContext();
            BeginContext(1396, 87, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a133d11d54d13eb51f1b39416a0c7a1202d219a022542", 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_7);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1483, 71, true);
            WriteLiteral("</a>\r\n    <a href=\"https://www.facebook.com/anish.nkr\" target=\"_blank\">");
            EndContext();
            BeginContext(1554, 97, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a133d11d54d13eb51f1b39416a0c7a1202d219a024037", 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_11);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1651, 79, true);
            WriteLiteral("</a>\r\n    <a href=\"https://www.instagram.com/anish_nkr/?hl=en\" target=\"_blank\">");
            EndContext();
            BeginContext(1730, 106, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a133d11d54d13eb51f1b39416a0c7a1202d219a025543", 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_11);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1836, 10, true);
            WriteLiteral("</a>\r\n    ");
            EndContext();
            BeginContext(1846, 94, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133d11d54d13eb51f1b39416a0c7a1202d219a026975", async() => {
                BeginContext(1932, 4, true);
                WriteLiteral("Back");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_15.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_16.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1940, 39, true);
            WriteLiteral("\r\n    <h5 style=\"text-align:center\"><b>");
            EndContext();
            BeginContext(1979, 51, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a133d11d54d13eb51f1b39416a0c7a1202d219a028680", async() => {
                BeginContext(2008, 18, true);
                WriteLiteral("Add Comments/Notes");
                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_17.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(2030, 22, true);
            WriteLiteral("</b></h5>\r\n</footer>\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 6 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"

            ViewBag.Title = "All Roles";

#line default
#line hidden
            BeginContext(253, 24, true);
            WriteLiteral("\r\n<h1>All Roles</h1>\r\n\r\n");
            EndContext();
#line 12 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
            if (Model.Any())
            {
                if (SignInManager.IsSignedIn(User) && User.IsInRole("Super Admin"))
                {
#line default
#line hidden
                    BeginContext(379, 8, true);
                    WriteLiteral("        ");
                    EndContext();
                    BeginContext(387, 135, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6d4f072919956c39f157e7a074b830ed642d39f9312", async() => {
                        BeginContext(506, 12, true);
                        WriteLiteral("Add new role");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                    __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);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(522, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 18 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                }

                foreach (var role in Model)
                {
#line default
#line hidden
                    BeginContext(581, 110, true);
                    WriteLiteral("            <div class=\"card mb-3\">\r\n                <div class=\"card-header\">\r\n                    Role Id : ");
                    EndContext();
                    BeginContext(692, 7, false);
#line 24 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                    Write(role.Id);

#line default
#line hidden
                    EndContext();
                    BeginContext(699, 110, true);
                    WriteLiteral("\r\n                </div>\r\n                <div class=\"card-body\">\r\n                    <h5 class=\"card-title\">");
                    EndContext();
                    BeginContext(810, 9, false);
#line 27 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                    Write(role.Name);

#line default
#line hidden
                    EndContext();
                    BeginContext(819, 123, true);
                    WriteLiteral("</h5>\r\n                </div>\r\n                <div class=\"card-footer d-flex justify-content-start\">\r\n                    ");
                    EndContext();
                    BeginContext(942, 189, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6d4f072919956c39f157e7a074b830ed642d39f12459", async() => {
                        BeginContext(1075, 52, true);
                        WriteLiteral("\r\n                        Edit\r\n                    ");
                        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.Controller = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 31 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                    WriteLiteral(role.Id);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1131, 22, true);
                    WriteLiteral("\r\n                    ");
                    EndContext();
                    BeginContext(1153, 142, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6d4f072919956c39f157e7a074b830ed642d39f15157", async() => {
                        BeginContext(1273, 18, true);
                        WriteLiteral("Edit Users in Role");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_7.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-roleId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 34 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                    WriteLiteral(role.Id);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["roleId"] = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-roleId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["roleId"], 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(1295, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 35 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                    if (SignInManager.IsSignedIn(User) && User.IsInRole("Super Admin"))
                    {
#line default
#line hidden
                        BeginContext(1410, 24, true);
                        WriteLiteral("                        ");
                        EndContext();
                        BeginContext(1434, 840, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6d4f072919956c39f157e7a074b830ed642d39f18287", async() => {
                            BeginContext(1522, 37, true);
                            WriteLiteral("\r\n\r\n                            <span");
                            EndContext();
                            BeginWriteAttribute("id", " id=\"", 1559, "\"", 1590, 2);
                            WriteAttributeValue("", 1564, "confirmDeleteSpan_", 1564, 18, true);
#line 39 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                            WriteAttributeValue("", 1582, role.Id, 1582, 8, false);

#line default
#line hidden
                            EndWriteAttribute();
                            BeginContext(1591, 269, true);
                            WriteLiteral(@" style=""display:none"">
                                <span><b>Are you sure you want to delete?</b></span>
                                <button type=""submit"" class=""btn btn-danger"">Yes</button>
                                <a href=""#/"" class=""btn btn-primary""");
                            EndContext();
                            BeginWriteAttribute("onclick", "\r\n                                   onclick=\"", 1860, "\"", 1938, 4);
                            WriteAttributeValue("", 1906, "confirmDelete(\'", 1906, 15, true);
#line 43 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                            WriteAttributeValue("", 1921, role.Id, 1921, 8, false);

#line default
#line hidden
                            WriteAttributeValue("", 1929, "\',", 1929, 2, true);
                            WriteAttributeValue(" ", 1931, "false)", 1932, 7, true);
                            EndWriteAttribute();
                            BeginContext(1939, 81, true);
                            WriteLiteral(">No</a>\r\n                            </span>\r\n\r\n                            <span");
                            EndContext();
                            BeginWriteAttribute("id", " id=\"", 2020, "\"", 2044, 2);
                            WriteAttributeValue("", 2025, "deleteSpan_", 2025, 11, true);
#line 46 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                            WriteAttributeValue("", 2036, role.Id, 2036, 8, false);

#line default
#line hidden
                            EndWriteAttribute();
                            BeginContext(2045, 70, true);
                            WriteLiteral(">\r\n                                <a href=\"#/\" class=\"btn btn-danger\"");
                            EndContext();
                            BeginWriteAttribute("onclick", "\r\n                                   onclick=\"", 2115, "\"", 2192, 4);
                            WriteAttributeValue("", 2161, "confirmDelete(\'", 2161, 15, true);
#line 48 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                            WriteAttributeValue("", 2176, role.Id, 2176, 8, false);

#line default
#line hidden
                            WriteAttributeValue("", 2184, "\',", 2184, 2, true);
                            WriteAttributeValue(" ", 2186, "true)", 2187, 6, true);
                            EndWriteAttribute();
                            BeginContext(2193, 74, true);
                            WriteLiteral(">Delete</a>\r\n                            </span>\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_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_10.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 37 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                        WriteLiteral(role.Id);

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

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2274, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 51 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                    }

#line default
#line hidden
                    BeginContext(2299, 46, true);
                    WriteLiteral("\r\n                </div>\r\n            </div>\r\n");
                    EndContext();
#line 55 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                }
            }
            else
            {
#line default
#line hidden
                BeginContext(2380, 141, true);
                WriteLiteral("            <div class=\"card\">\r\n                <div class=\"card-header\">\r\n                    No roles created yet\r\n                </div>\r\n");
                EndContext();
#line 63 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                if (SignInManager.IsSignedIn(User) && User.IsInRole("Super Admin"))
                {
#line default
#line hidden
                    BeginContext(2626, 196, true);
                    WriteLiteral("                <div class=\"card-body\">\r\n                    <h5 class=\"card-title\">\r\n                        Use the button below to create a role\r\n                    </h5>\r\n                    ");
                    EndContext();
                    BeginContext(2822, 189, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6d4f072919956c39f157e7a074b830ed642d39f25539", async() => {
                        BeginContext(2948, 59, true);
                        WriteLiteral("\r\n                        Create Role\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_11);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3011, 26, true);
                    WriteLiteral("\r\n                </div>\r\n");
                    EndContext();
#line 74 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
                }

#line default
#line hidden
                BeginContext(3056, 20, true);
                WriteLiteral("            </div>\r\n");
                EndContext();
#line 76 "D:\Files and Softwares\repos\Mobile Store MS\Mobile Store MS\Views\Administration\GetAllRoles.cshtml"
            }

#line default
#line hidden
            BeginContext(3083, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(3102, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(3108, 44, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d6d4f072919956c39f157e7a074b830ed642d39f28090", 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_12);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3152, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 4 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"

            ViewData["Title"] = "Users In Role: " + Context.Session.GetString("roleName");

#line default
#line hidden
            BeginContext(198, 6, true);
            WriteLiteral("\r\n<h2>");
            EndContext();
            BeginContext(205, 17, false);
#line 8 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
            Write(ViewData["Title"]);

#line default
#line hidden
            EndContext();
            BeginContext(222, 124, true);
            WriteLiteral("</h2>\r\n\r\n<table class=\"table\">\r\n    <tr>\r\n        <th>User Name</th>\r\n        <th>Email</th>\r\n        <th></th>\r\n    </tr>\r\n");
            EndContext();
#line 16 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(387, 30, true);
                WriteLiteral("        <tr>\r\n            <td>");
                EndContext();
                BeginContext(418, 13, false);
#line 19 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
                Write(item.UserName);

#line default
#line hidden
                EndContext();
                BeginContext(431, 23, true);
                WriteLiteral("</td>\r\n            <td>");
                EndContext();
                BeginContext(455, 10, false);
#line 20 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
                Write(item.Email);

#line default
#line hidden
                EndContext();
                BeginContext(465, 25, true);
                WriteLiteral("</td>\r\n            <td>\r\n");
                EndContext();
#line 22 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
                if (Context.Session.GetString("roleName") != "administrators" && User.IsInRole("administrators"))
                {
#line default
#line hidden
                    BeginContext(625, 20, true);
                    WriteLiteral("                    ");
                    EndContext();
                    BeginContext(645, 213, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "61916b6a8bd84cda8844b0fb3ec40c48", async() => {
                        BeginContext(800, 54, true);
                        WriteLiteral("\r\n                        Remove\r\n                    ");
                        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_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-userId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 24 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
                    WriteLiteral(item.Id);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["userId"] = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-userId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["userId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    BeginWriteTagHelperAttribute();
#line 24 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
                    WriteLiteral(item.UserName);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["userName"] = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-userName", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["userName"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    BeginWriteTagHelperAttribute();
#line 24 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
                    WriteLiteral(Context.Session.GetString("roleName"));

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["roleName"] = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-roleName", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["roleName"], 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(858, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 27 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
                }

#line default
#line hidden
                BeginContext(879, 34, true);
                WriteLiteral("            </td>\r\n        </tr>\r\n");
                EndContext();
#line 30 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
            }

#line default
#line hidden
            BeginContext(920, 12, true);
            WriteLiteral("</table>\r\n\r\n");
            EndContext();
            BeginContext(932, 528, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1463890896f84412a75dbfb9ea0776f4", async() => {
                BeginContext(992, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(998, 60, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4c0d6d25b63d4d3ba558561bda47d998", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
#line 34 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.All;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1058, 26, true);
                WriteLiteral("\r\n    <input type=\"hidden\"");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 1084, "\"", 1130, 1);
#line 35 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
                WriteAttributeValue("", 1092, Context.Session.GetString("roleName"), 1092, 38, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(1131, 110, true);
                WriteLiteral(" name=\"roleName\" />\r\n    <div class=\"form-group\">\r\n        <label class=\"control-label\">User</label>\r\n        ");
                EndContext();
                BeginContext(1241, 87, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("select", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e9e27e996ad6428bae5c297b72dc63d2", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.SelectTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
#line 38 "C:\Users\billx\Desktop\PROG 2230\HXSail\HXSail\Views\HXRole\UsersInRole.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.Items = ViewBag.usersNotInRole;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-items", __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.Items, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.Name = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1328, 125, true);
                WriteLiteral("\r\n    </div>\r\n    <div class=\"form-group\">\r\n        <input type=\"submit\" value=\"Add\" class=\"bth btn-default\" />\r\n    </div>\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.Controller = (string)__tagHelperAttribute_4.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_5.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1460, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(62, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(105, 20, true);
            WriteLiteral("\r\n<h2>Index</h2>\r\n\r\n");
            EndContext();
#line 9 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
            if (User.IsInRole("Employee") || User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(187, 17, true);
                WriteLiteral("    <p>\r\n        ");
                EndContext();
                BeginContext(204, 37, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c376304060264e91a9f9b62288de6c40", async() => {
                    BeginContext(227, 10, true);
                    WriteLiteral("Create New");
                    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_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(241, 12, true);
                WriteLiteral("\r\n    </p>\r\n");
                EndContext();
#line 14 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(256, 84, true);
            WriteLiteral("<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(341, 47, false);
#line 19 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.BookBarcode));

#line default
#line hidden
            EndContext();
            BeginContext(388, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(444, 40, false);
#line 22 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Book));

#line default
#line hidden
            EndContext();
            BeginContext(484, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(540, 44, false);
#line 25 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Retailer));

#line default
#line hidden
            EndContext();
            BeginContext(584, 21, true);
            WriteLiteral("\r\n            </th>\r\n");
            EndContext();
#line 27 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
            if (User.IsInRole("Employee") || User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(691, 42, true);
                WriteLiteral("                <th>\r\n                    ");
                EndContext();
                BeginContext(734, 49, false);
#line 30 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                Write(Html.DisplayNameFor(model => model.PurchasePrice));

#line default
#line hidden
                EndContext();
                BeginContext(783, 59, true);
                WriteLiteral("\r\n                </th>\r\n            <th>\r\n                ");
                EndContext();
                BeginContext(843, 40, false);
#line 33 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                Write(Html.DisplayNameFor(model => model.RFID));

#line default
#line hidden
                EndContext();
                BeginContext(883, 21, true);
                WriteLiteral("\r\n            </th>\r\n");
                EndContext();
#line 35 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(919, 65, true);
            WriteLiteral("            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 40 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(1033, 32, true);
                WriteLiteral("        <tr>\r\n            <td>\r\n");
                EndContext();
#line 44 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"

                string number = string.Format("{0:0.##}", item.BookBarcode);


#line default
#line hidden
                BeginContext(1186, 16, true);
                WriteLiteral("                ");
                EndContext();
                BeginContext(1203, 6, false);
#line 47 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                Write(number);

#line default
#line hidden
                EndContext();
                BeginContext(1209, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1264, 169, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "97824a0635a445edb657d1ad1358f97f", async() => {
                    BeginContext(1344, 22, true);
                    WriteLiteral("\r\n                    ");
                    EndContext();
                    BeginContext(1367, 44, false);
#line 51 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.Book.Name));

#line default
#line hidden
                    EndContext();
                    BeginContext(1411, 18, true);
                    WriteLiteral("\r\n                ");
                    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.Controller = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 50 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                WriteLiteral(item.Book.BookID);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1433, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1488, 185, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba73809112144d9d844f541e4fba20b9", async() => {
                    BeginContext(1580, 22, true);
                    WriteLiteral("\r\n                    ");
                    EndContext();
                    BeginContext(1603, 48, false);
#line 56 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.Retailer.Name));

#line default
#line hidden
                    EndContext();
                    BeginContext(1651, 18, true);
                    WriteLiteral("\r\n                ");
                    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.Controller = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 55 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                WriteLiteral(item.Retailer.RetailerID);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1673, 21, true);
                WriteLiteral("\r\n            </td>\r\n");
                EndContext();
#line 59 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                if (User.IsInRole("Employee") || User.IsInRole("Admin"))
                {
#line default
#line hidden
                    BeginContext(1780, 43, true);
                    WriteLiteral("                <td>\r\n                    $");
                    EndContext();
                    BeginContext(1824, 48, false);
#line 62 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.PurchasePrice));

#line default
#line hidden
                    EndContext();
                    BeginContext(1872, 59, true);
                    WriteLiteral("\r\n                </td>\r\n            <td>\r\n                ");
                    EndContext();
                    BeginContext(1932, 39, false);
#line 65 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.RFID));

#line default
#line hidden
                    EndContext();
                    BeginContext(1971, 21, true);
                    WriteLiteral("\r\n            </td>\r\n");
                    EndContext();
#line 67 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(2007, 20, true);
                WriteLiteral("\r\n            <td>\r\n");
                EndContext();
#line 70 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                if (User.IsInRole("Employee") || User.IsInRole("Admin"))
                {
#line default
#line hidden
                    BeginContext(2121, 20, true);
                    WriteLiteral("                    ");
                    EndContext();
                    BeginContext(2141, 63, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dccecdad05a546ba85ea7b7379703618", async() => {
                        BeginContext(2196, 4, true);
                        WriteLiteral("Edit");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 72 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                    WriteLiteral(item.BookCopiesID);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2204, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 73 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(2225, 16, true);
                WriteLiteral("                ");
                EndContext();
                BeginContext(2241, 69, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a85d2008d8a44c35afb86c0d51e863db", async() => {
                    BeginContext(2299, 7, true);
                    WriteLiteral("Details");
                    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);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 74 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                WriteLiteral(item.BookCopiesID);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2310, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 75 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                if (User.IsInRole("Employee") || User.IsInRole("Admin"))
                {
#line default
#line hidden
                    BeginContext(2406, 20, true);
                    WriteLiteral("                    ");
                    EndContext();
                    BeginContext(2426, 67, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "729369a49f8d46b2ac73820c3b91ed08", async() => {
                        BeginContext(2483, 6, true);
                        WriteLiteral("Delete");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 77 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                    WriteLiteral(item.BookCopiesID);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2493, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 78 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(2514, 34, true);
                WriteLiteral("            </td>\r\n        </tr>\r\n");
                EndContext();
#line 81 "C:\Users\benja\Downloads\LibraryDemo-8658e7aa276ec4bbcf4141fb2fa865aa605e8333\Views\BookCopies\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2559, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
Example #25
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(64, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(107, 25, true);
            WriteLiteral("\r\n<h1>Index</h1>\r\n\r\n<p>\r\n");
            EndContext();
#line 10 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
            if (User.IsInRole("Admin"))
            {
#line default
#line hidden
                BeginContext(165, 4, true);
                WriteLiteral("    ");
                EndContext();
                BeginContext(169, 37, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7b8145a3d4331532dc8888d280f5fc67d71e1cb65290", async() => {
                    BeginContext(192, 10, true);
                    WriteLiteral("Create New");
                    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_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(206, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 13 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(211, 90, true);
            WriteLiteral("</p>\r\n<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(302, 41, false);
#line 19 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Title));

#line default
#line hidden
            EndContext();
            BeginContext(343, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(399, 41, false);
#line 22 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Genre));

#line default
#line hidden
            EndContext();
            BeginContext(440, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(496, 49, false);
#line 25 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.PublishedYear));

#line default
#line hidden
            EndContext();
            BeginContext(545, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(601, 41, false);
#line 28 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Price));

#line default
#line hidden
            EndContext();
            BeginContext(642, 86, true);
            WriteLiteral("\r\n            </th>\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 34 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(760, 48, true);
                WriteLiteral("        <tr>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(809, 40, false);
#line 37 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Title));

#line default
#line hidden
                EndContext();
                BeginContext(849, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(905, 40, false);
#line 40 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Genre));

#line default
#line hidden
                EndContext();
                BeginContext(945, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1001, 48, false);
#line 43 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.PublishedYear));

#line default
#line hidden
                EndContext();
                BeginContext(1049, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1105, 40, false);
#line 46 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Price));

#line default
#line hidden
                EndContext();
                BeginContext(1145, 21, true);
                WriteLiteral("\r\n            </td>\r\n");
                EndContext();
#line 48 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
                if (User.IsInRole("Admin"))
                {
#line default
#line hidden
                    BeginContext(1223, 42, true);
                    WriteLiteral("                <td>\r\n                    ");
                    EndContext();
                    BeginContext(1265, 53, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7b8145a3d4331532dc8888d280f5fc67d71e1cb611564", async() => {
                        BeginContext(1310, 4, true);
                        WriteLiteral("Edit");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 51 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
                    WriteLiteral(item.Id);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1318, 24, true);
                    WriteLiteral(" |\r\n                    ");
                    EndContext();
                    BeginContext(1342, 59, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7b8145a3d4331532dc8888d280f5fc67d71e1cb613972", async() => {
                        BeginContext(1390, 7, true);
                        WriteLiteral("Details");
                        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);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 52 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
                    WriteLiteral(item.Id);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1401, 24, true);
                    WriteLiteral(" |\r\n                    ");
                    EndContext();
                    BeginContext(1425, 57, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7b8145a3d4331532dc8888d280f5fc67d71e1cb616386", async() => {
                        BeginContext(1472, 6, true);
                        WriteLiteral("Delete");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                    {
                        throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 53 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
                    WriteLiteral(item.Id);

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

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1482, 25, true);
                    WriteLiteral("\r\n                </td>\r\n");
                    EndContext();
#line 55 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(1522, 15, true);
                WriteLiteral("        </tr>\r\n");
                EndContext();
#line 57 "C:\Users\ashley.rhodes\Desktop\Dev Files\VideoGamesRepository\VideoGamesRepository\VideoGamesRepository\Views\VideoGames\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1540, 22, true);
            WriteLiteral("    </tbody>\r\n</table>");
            EndContext();
        }
Example #26
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(43, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(86, 29, true);
            WriteLiteral("\r\n<h2>Index</h2>\r\n\r\n<p>\r\n    ");
            EndContext();
            BeginContext(115, 45, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "25f8ac04ee594ec392234fa9c334a2b0", async() => {
                BeginContext(138, 18, true);
                WriteLiteral("Создать докторанта");
                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_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(160, 12, true);
            WriteLiteral("\r\n</p>\r\n\r\n\r\n");
            EndContext();
            BeginContext(172, 339, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b531556825c34c9e83357b85215afec7", async() => {
                BeginContext(239, 265, true);
                WriteLiteral(@"
    <p>

        Введите фамилию докторанта <input type=""text"" name=""searchString"">

        Введите спец докторанта

            <select id=""MajorCypher"" name=""majorCode""> </select>
        

        <input type=""submit"" value=""Поиск"" />
    </p>


");
                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.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_3.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(511, 96, true);
            WriteLiteral("\r\n\r\n\r\n\r\n\r\n\r\n<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(608, 44, false);
#line 38 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.LastName));

#line default
#line hidden
            EndContext();
            BeginContext(652, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(708, 45, false);
#line 41 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.FirstName));

#line default
#line hidden
            EndContext();
            BeginContext(753, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(809, 46, false);
#line 44 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.MiddleName));

#line default
#line hidden
            EndContext();
            BeginContext(855, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(911, 45, false);
#line 47 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.MajorCode));

#line default
#line hidden
            EndContext();
            BeginContext(956, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(1012, 45, false);
#line 50 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.MajorName));

#line default
#line hidden
            EndContext();
            BeginContext(1057, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(1113, 49, false);
#line 53 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.ThesisNameRus));

#line default
#line hidden
            EndContext();
            BeginContext(1162, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(1218, 49, false);
#line 56 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.ThesisComDate));

#line default
#line hidden
            EndContext();
            BeginContext(1267, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(1323, 54, false);
#line 59 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.EducationDirection));

#line default
#line hidden
            EndContext();
            BeginContext(1377, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(1433, 54, false);
#line 62 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.EducationDirection));

#line default
#line hidden
            EndContext();
            BeginContext(1487, 92, true);
            WriteLiteral("\r\n            </th>\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n\r\n\r\n\r\n    <tbody>\r\n");
            EndContext();
#line 71 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
#line 73 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                if (item.ThesisComDate == DateTime.Today)
                {
#line default
#line hidden
                    BeginContext(1699, 72, true);
                    WriteLiteral("                <tr>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(1772, 43, false);
#line 77 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.LastName));

#line default
#line hidden
                    EndContext();
                    BeginContext(1815, 79, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(1895, 44, false);
#line 80 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.FirstName));

#line default
#line hidden
                    EndContext();
                    BeginContext(1939, 79, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(2019, 45, false);
#line 83 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.MiddleName));

#line default
#line hidden
                    EndContext();
                    BeginContext(2064, 79, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(2144, 52, false);
#line 86 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.Major.MajorCypher));

#line default
#line hidden
                    EndContext();
                    BeginContext(2196, 79, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(2276, 56, false);
#line 89 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.Major.MajorCypherName));

#line default
#line hidden
                    EndContext();
                    BeginContext(2332, 79, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(2412, 48, false);
#line 92 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.ThesisNameRus));

#line default
#line hidden
                    EndContext();
                    BeginContext(2460, 79, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(2540, 48, false);
#line 95 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.ThesisComDate));

#line default
#line hidden
                    EndContext();
                    BeginContext(2588, 79, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(2668, 76, false);
#line 98 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.TrainingDirection.TrainingDirectionCypher));

#line default
#line hidden
                    EndContext();
                    BeginContext(2744, 79, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(2824, 80, false);
#line 101 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    Write(Html.DisplayFor(modelItem => item.TrainingDirection.TrainingDirectionCypherName));

#line default
#line hidden
                    EndContext();
                    BeginContext(2904, 76, true);
                    WriteLiteral("\r\n                    </td>\r\n                </tr>\r\n            <td>\r\n\r\n\r\n\r\n");
                    EndContext();
#line 108 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    if (User.IsInRole("moderator"))
                    {
#line default
#line hidden
                        BeginContext(3057, 110, true);
                        WriteLiteral("                    <table style=\"width:100%\">\r\n                        <tr>\r\n                            <td>");
                        EndContext();
                        BeginContext(3167, 62, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ca04c65f001948c0bd9ea0bd5efe67ab", async() => {
                            BeginContext(3215, 10, true);
                            WriteLiteral("Бюллетень|");
                            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_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 116 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                        WriteLiteral(item.Id);

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

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3229, 39, true);
                        WriteLiteral("</td>\r\n                            <td>");
                        EndContext();
                        BeginContext(3268, 66, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c6cbfc31f0a34955b95fcf355e27240c", async() => {
                            BeginContext(3319, 11, true);
                            WriteLiteral("Голосовать|");
                            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_5.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 117 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                        WriteLiteral(item.Id);

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

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3334, 39, true);
                        WriteLiteral("</td>\r\n                            <td>");
                        EndContext();
                        BeginContext(3373, 71, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "34f630541dd0462da56908d05f891372", async() => {
                            BeginContext(3429, 11, true);
                            WriteLiteral("Результаты|");
                            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_6.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 118 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                        WriteLiteral(item.Id);

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

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3444, 110, true);
                        WriteLiteral("</td>\r\n                            <!-- <td><a class=\"btn btn-sm btn-primary\" asp-action=\"Edit\" asp-route-id=\"");
                        EndContext();
                        BeginContext(3555, 7, false);
#line 119 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                        Write(item.Id);

#line default
#line hidden
                        EndContext();
                        BeginContext(3562, 62, true);
                        WriteLiteral("\">Изменить</a></td> -->\r\n            </tr>\r\n        </table>\r\n");
                        EndContext();
#line 122 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    }

                    else if (User.IsInRole("user"))
                    {
#line default
#line hidden
                        BeginContext(3679, 8, true);
                        WriteLiteral("        ");
                        EndContext();
                        BeginContext(3687, 96, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a605e9d269cc42308b66d29e0f4d5633", async() => {
                            BeginContext(3769, 10, true);
                            WriteLiteral("Голосовать");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 127 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                        WriteLiteral(item.Id);

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

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3783, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 128 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    }

#line default
#line hidden
                    BeginContext(3792, 81, true);
                    WriteLiteral("\r\n    <!--   <a class=\"btn btn-sm btn-primary\" asp-action=\"Delete\" asp-route-id=\"");
                    EndContext();
                    BeginContext(3874, 7, false);
#line 130 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                    Write(item.Id);

#line default
#line hidden
                    EndContext();
                    BeginContext(3881, 34, true);
                    WriteLiteral("\">Удалить</a> -->\r\n\r\n\r\n\r\n\r\n</td>\r\n");
                    EndContext();
#line 136 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                }

#line default
#line hidden
#line 138 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(3941, 46, true);
            WriteLiteral("\r\n\r\n\r\n\r\n\r\n\r\n\r\n        </tbody>\r\n    </table>\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(4009, 64, true);
                WriteLiteral("\r\n        <script type=\"text/javascript\">\r\n\r\n        setMajors(\'");
                EndContext();
                BeginContext(4074, 39, false);
#line 152 "C:\Users\ENU\source\repos\Phd_ис\Phd\Phd\Views\PhdStudents\Index.cshtml"
                Write(Url.Action("GetMajors", "Dictionaries"));

#line default
#line hidden
                EndContext();
                BeginContext(4113, 44, true);
                WriteLiteral("\', \'#MajorCypher\');\r\n        </script>\r\n    ");
                EndContext();
            }
                          );
        }
Example #27
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(61, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(104, 46, true);
            WriteLiteral("\r\n<h2>Todos los Propietarios</h2>\r\n\r\n<p>\r\n    ");
            EndContext();
            BeginContext(150, 40, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "03cd3ea517da40c1a54121d36542c77a", async() => {
                BeginContext(173, 13, true);
                WriteLiteral("Agregar Nuevo");
                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_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(190, 175, true);
            WriteLiteral("\r\n</p>\r\n<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n               <label>ID Propietario</label>\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(366, 42, false);
#line 19 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Nombre));

#line default
#line hidden
            EndContext();
            BeginContext(408, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(464, 44, false);
#line 22 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Apellido));

#line default
#line hidden
            EndContext();
            BeginContext(508, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(564, 39, false);
#line 25 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Dni));

#line default
#line hidden
            EndContext();
            BeginContext(603, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(659, 41, false);
#line 28 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Email));

#line default
#line hidden
            EndContext();
            BeginContext(700, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(756, 44, false);
#line 31 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Telefono));

#line default
#line hidden
            EndContext();
            BeginContext(800, 100, true);
            WriteLiteral("\r\n            </th>\r\n            \r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 38 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(932, 48, true);
                WriteLiteral("        <tr>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(981, 41, false);
#line 41 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.IdProp));

#line default
#line hidden
                EndContext();
                BeginContext(1022, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1078, 41, false);
#line 44 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Nombre));

#line default
#line hidden
                EndContext();
                BeginContext(1119, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1175, 43, false);
#line 47 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Apellido));

#line default
#line hidden
                EndContext();
                BeginContext(1218, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1274, 38, false);
#line 50 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Dni));

#line default
#line hidden
                EndContext();
                BeginContext(1312, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1368, 40, false);
#line 53 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Email));

#line default
#line hidden
                EndContext();
                BeginContext(1408, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1464, 43, false);
#line 56 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Telefono));

#line default
#line hidden
                EndContext();
                BeginContext(1507, 69, true);
                WriteLiteral("\r\n            </td>\r\n            \r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1577, 59, false);
#line 60 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                Write(Html.ActionLink("Editar", "Edit", new { id = item.IdProp }));

#line default
#line hidden
                EndContext();
                BeginContext(1636, 4, true);
                WriteLiteral(" |\r\n");
                EndContext();
#line 61 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                if (User.IsInRole("Administrador"))
                {
#line default
#line hidden
                    BeginContext(1717, 63, false);
#line 62 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                    Write(Html.ActionLink("Eliminar", "Delete", new { id = item.IdProp }));

#line default
#line hidden
                    EndContext();
#line 62 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(1870, 20, true);
                WriteLiteral("                    ");
                EndContext();
                BeginContext(1891, 87, false);
#line 64 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
                Write(Html.ActionLink("Ver Propiedades", "InmPorProp", "Inmuebles", new { id = item.IdProp }));

#line default
#line hidden
                EndContext();
                BeginContext(1978, 50, true);
                WriteLiteral("\r\n                </td>\r\n    \r\n            </tr>\r\n");
                EndContext();
#line 68 "C:\Users\educacion 3.0\source\repos\Proyecto-Inmobiliaria\Views\Propietarios\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2033, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"

            ViewData["Title"] = "Home - Vivo";

#line default
#line hidden
            BeginContext(95, 84, true);
            WriteLiteral("\r\n<h2 style=\"text-align:center;\">Plataforma Vivo</h2>\r\n<br />\r\n\r\n<div class=\"row\">\r\n");
            EndContext();
#line 10 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
            if (ViewBag.ReleaseAtiva)
            {
#line default
#line hidden
                BeginContext(218, 121, true);
                WriteLiteral("        <div class=\"col-md-4\">\r\n            <div class=\"card\">\r\n                <h5 class=\"card-header\"> Release Codigo: ");
                EndContext();
                BeginContext(340, 16, false);
#line 14 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
                Write(Model.CodRelease);

#line default
#line hidden
                EndContext();
                BeginContext(356, 186, true);
                WriteLiteral("</h5>\r\n                <div class=\"card-body\">\r\n                    <h4 class=\"card-title\">Informações:</h4>\r\n                    <p><i class=\"fas fa-calendar-day\"></i> Data da Release: ");
                EndContext();
                BeginContext(543, 37, false);
#line 17 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
                Write(Model.DataRelease.ToShortDateString());

#line default
#line hidden
                EndContext();
                BeginContext(580, 6, true);
                WriteLiteral("</p>\r\n");
                EndContext();
#line 18 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
                if (!User.IsInRole("Vivo-User"))
                {
#line default
#line hidden
                    BeginContext(664, 141, true);
                    WriteLiteral("                        <a class=\"\" data-toggle=\"modal\" data-target=\"#exampleModal\" href=\"#\"><i class=\"fas fa-edit\"></i> Alterar Status</a>\r\n");
                    EndContext();
#line 21 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
                }

#line default
#line hidden
                BeginContext(828, 22, true);
                WriteLiteral("                    | ");
                EndContext();
                BeginContext(850, 105, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c4e2bcaf49e043948b674687d6a52a07", async() => {
                    BeginContext(901, 50, true);
                    WriteLiteral("Cenarios <i class=\"fas fa-angle-double-right\"></i>");
                    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_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(955, 117, true);
                WriteLiteral("\r\n                </div> <!-- end card-body-->\r\n            </div> <!-- end card-->\r\n        </div> <!-- end col-->\r\n");
                EndContext();
#line 26 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
            }

#line default
#line hidden
            BeginContext(1079, 321, true);
            WriteLiteral(@"        <div class=""col-md-4"">
            <div class=""card"">
                <div class=""card-header"">
                    Hitorico de release
                </div>
                <div class=""card-body"">
                    <p>Pesquisar release criadas/feitas a partir do mês de Agosto </p>
                    ");
            EndContext();
            BeginContext(1400, 89, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8a1dc75747ac4a468a9ba728fcb3a5b1", async() => {
                BeginContext(1446, 39, true);
                WriteLiteral("<i class=\"fas fa-search\"></i> Pesquisar");
                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);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1489, 606, true);
            WriteLiteral(@"
                </div> <!-- end card-body-->
            </div> <!-- end card-->
        </div> <!-- end col-->

        <div class=""col-md-4"">
            <div class=""card text-xs-center"">
                <div class=""card-header"">
                    Criar Nova Release
                </div>
                <div class=""card-body"">
                    <h5 class=""card-title"">Atenção!!</h5>
                    <p>Só será possivel criar uma nova release caso todas as outras releases ja tenham sido feitas e alteradas o status para ""Executada"".</p>
                    <!-- Small modal -->
");
            EndContext();
#line 48 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
            if (ViewBag.ReleaseAtiva)
            {
            }
            else
            {
#line default
#line hidden
                BeginContext(2240, 136, true);
                WriteLiteral("                        <a href=\"#\" class=\"\" data-toggle=\"modal\" data-target=\"#info-alert-modal\"><i class=\"fas fa-plus\"></i> Criar</a>\r\n");
                EndContext();
#line 55 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
            }

#line default
#line hidden
            BeginContext(2399, 119, true);
            WriteLiteral("                </div>\r\n            </div> <!-- end card-->\r\n        </div> <!-- end col-->\r\n    </div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n");
            EndContext();
#line 67 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
            if (ViewBag.ReleaseAtiva && !User.IsInRole("Vivo-User"))
            {
#line default
#line hidden
                BeginContext(2580, 331, true);
                WriteLiteral(@"<!--Modal para alterar a Release-->
<div class=""modal fade"" id=""exampleModal"" tabindex=""-1"" role=""dialog"" aria-hidden=""true"">
    <div class=""modal-dialog"" role=""document"">
        <div class=""modal-content"">
            <div class=""modal-header"">
                <h5 class=""modal-title"" id=""exampleModalLabel"">Release Codigo ");
                EndContext();
                BeginContext(2912, 16, false);
#line 74 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
                Write(Model.CodRelease);

#line default
#line hidden
                EndContext();
                BeginContext(2928, 272, true);
                WriteLiteral(@"</h5>
                <button type=""button"" class=""close"" data-dismiss=""modal"" aria-label=""Fechar"">
                    <span aria-hidden=""true"">&times;</span>
                </button>
            </div>
                <div class=""modal-body"">
                    ");
                EndContext();
                BeginContext(3200, 872, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "225b5b0906604f719dba22a46f69c8ab", async() => {
                    BeginContext(3239, 155, true);
                    WriteLiteral("\r\n                        <div class=\"form-group\">\r\n                            <label class=\"col-form-label\">Status:</label>\r\n                            ");
                    EndContext();
                    BeginContext(3394, 229, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("select", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b97fdec71e56442baa980041f2da519e", async() => {
                        BeginContext(3440, 34, true);
                        WriteLiteral("\r\n                                ");
                        EndContext();
                        BeginContext(3474, 40, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f305f251ac54667b2ad8c9f04f0e4a9", async() => {
                            BeginContext(3492, 13, true);
                            WriteLiteral("Não Executado");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3514, 34, true);
                        WriteLiteral("\r\n                                ");
                        EndContext();
                        BeginContext(3548, 36, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2e72859a7de84abca0715076aef6f97b", async() => {
                            BeginContext(3566, 9, true);
                            WriteLiteral("Executado");
                            EndContext();
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                        __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_5.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3584, 30, true);
                        WriteLiteral("\r\n                            ");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.SelectTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
#line 83 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
                    __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Status);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.For, 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(3623, 112, true);
                    WriteLiteral("\r\n                        </div>\r\n                        <div class=\"form-group\">\r\n                            ");
                    EndContext();
                    BeginContext(3735, 56, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "1f64c5a2e5f04a0a8d4a47d3c68ae217", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
#line 89 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.CodRelease);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    BeginWriteTagHelperAttribute();
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __tagHelperExecutionContext.AddHtmlAttribute("hidden", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3791, 274, true);
                    WriteLiteral(@"
                        </div>

                        <input type=""submit"" class=""btn btn-outline-primary"" value=""Salvar"" /> |
                        <button type=""button"" class=""btn btn-outline-secondary"" data-dismiss=""modal"">Fechar</button>

                    ");
                    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.Action = (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(4072, 62, true);
                WriteLiteral("\r\n                </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n");
                EndContext();
#line 100 "C:\GITHUB\Sysmap.Sanity.Portal\Sysmap.Portal.Sanity\Views\Vivo\VivoHome.cshtml"
            }

#line default
#line hidden
            BeginContext(4137, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(4156, 315, true);
                WriteLiteral(@" 
    <script type=""text/javascript"">
        $(function () {
            $("".card"").mousemove(function () {
                $(this).addClass(""shadow-lg"")
            });

            $("".card"").mouseout(function () {
                $(this).removeClass(""shadow-lg"")
            });
        });
</script>");
                EndContext();
            }
                          );
        }
Example #29
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(59, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(102, 32, true);
            WriteLiteral("\r\n<h2>Available Companies</h2>\r\n");
            EndContext();
#line 8 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
            if (User.IsInRole("CSO") || User.IsInRole("Student"))
            {
#line default
#line hidden
                BeginContext(193, 36, true);
                WriteLiteral("    <p class=\"form-group\">\r\n        ");
                EndContext();
                BeginContext(229, 71, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "94a761d912a246a2b406d003a323d06a", async() => {
                    BeginContext(282, 14, true);
                    WriteLiteral("Search Company");
                    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_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(300, 40, true);
                WriteLiteral("\r\n    </p>\r\n    <p>\r\n        Displaying ");
                EndContext();
                BeginContext(341, 28, false);
#line 14 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
                Write(ViewBag.SelectedCompanyCount);

#line default
#line hidden
                EndContext();
                BeginContext(369, 4, true);
                WriteLiteral(" of ");
                EndContext();
                BeginContext(374, 23, false);
#line 14 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
                Write(ViewBag.AllCompanyCount);

#line default
#line hidden
                EndContext();
                BeginContext(397, 22, true);
                WriteLiteral(" Companies\r\n    </p>\r\n");
                EndContext();
#line 16 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
            }

#line default
#line hidden
            BeginContext(422, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 18 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
            if (User.IsInRole("CSO"))
            {
#line default
#line hidden
                BeginContext(455, 17, true);
                WriteLiteral("    <p>\r\n        ");
                EndContext();
                BeginContext(472, 37, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "29a7c13dd27f435d831f605d07c0a14e", async() => {
                    BeginContext(495, 10, true);
                    WriteLiteral("Create New");
                    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);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(509, 12, true);
                WriteLiteral("\r\n    </p>\r\n");
                EndContext();
#line 23 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
            }

#line default
#line hidden
            BeginContext(524, 88, true);
            WriteLiteral("\r\n\r\n<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(613, 47, false);
#line 30 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.CompanyName));

#line default
#line hidden
            EndContext();
            BeginContext(660, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(716, 48, false);
#line 33 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.CompanyEmail));

#line default
#line hidden
            EndContext();
            BeginContext(764, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(820, 47, false);
#line 36 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Description));

#line default
#line hidden
            EndContext();
            BeginContext(867, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(923, 44, false);
#line 39 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Industry));

#line default
#line hidden
            EndContext();
            BeginContext(967, 86, true);
            WriteLiteral("\r\n            </th>\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 45 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(1102, 60, true);
                WriteLiteral("            <tr>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1163, 46, false);
#line 49 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.CompanyName));

#line default
#line hidden
                EndContext();
                BeginContext(1209, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1277, 47, false);
#line 52 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.CompanyEmail));

#line default
#line hidden
                EndContext();
                BeginContext(1324, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1392, 46, false);
#line 55 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Description));

#line default
#line hidden
                EndContext();
                BeginContext(1438, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1506, 43, false);
#line 58 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Industry));

#line default
#line hidden
                EndContext();
                BeginContext(1549, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1616, 66, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0c9facde6835457892fd75e8ae704530", async() => {
                    BeginContext(1671, 7, true);
                    WriteLiteral("Details");
                    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_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 61 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
                WriteLiteral(item.CompanyID);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1682, 46, true);
                WriteLiteral(" |\r\n                </td>\r\n            </tr>\r\n");
                EndContext();
#line 64 "/Users/xiaoxixu/Desktop/Past Semesters/Sp19/MIS333K/hirelonghornFinal!/hirelonghorn/Views/Companies/Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1739, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
Example #30
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(44, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"

            ViewData["Title"] = "All";

#line default
#line hidden
            BeginContext(85, 25, true);
            WriteLiteral("\r\n<h1>All Meetings</h1>\r\n");
            EndContext();
#line 8 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
            if (User.IsInRole(MagicStrings.AdminString))
            {
#line default
#line hidden
                BeginContext(160, 17, true);
                WriteLiteral("    <p>\r\n        ");
                EndContext();
                BeginContext(177, 45, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "267214fde28c9ba915a627963d04dbd02092c4a54044", async() => {
                    BeginContext(200, 18, true);
                    WriteLiteral("Create New Meeting");
                    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_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(222, 12, true);
                WriteLiteral("\r\n    </p>\r\n");
                EndContext();
#line 13 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
            }

#line default
#line hidden
            BeginContext(237, 104, true);
            WriteLiteral("    <table class=\"table\">\r\n        <thead>\r\n            <tr>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(342, 32, false);
#line 18 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
            Write(Html.DisplayName("Meeting Text"));

#line default
#line hidden
            EndContext();
            BeginContext(374, 67, true);
            WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(442, 35, false);
#line 21 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
            Write(Html.DisplayName("Number Of Votes"));

#line default
#line hidden
            EndContext();
            BeginContext(477, 67, true);
            WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(545, 40, false);
#line 24 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
            Write(Html.DisplayNameFor(model => model.Date));

#line default
#line hidden
            EndContext();
            BeginContext(585, 106, true);
            WriteLiteral("\r\n                </th>\r\n                <th></th>\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n");
            EndContext();
#line 30 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(748, 72, true);
                WriteLiteral("                <tr>\r\n                    <td>\r\n                        ");
                EndContext();
                BeginContext(821, 39, false);
#line 34 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
                Write(Html.DisplayFor(modelItem => item.Text));

#line default
#line hidden
                EndContext();
                BeginContext(860, 79, true);
                WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                EndContext();
                BeginContext(940, 48, false);
#line 37 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
                Write(Html.DisplayFor(modelItem => item.NumberOfVotes));

#line default
#line hidden
                EndContext();
                BeginContext(988, 79, true);
                WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                EndContext();
                BeginContext(1068, 39, false);
#line 40 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
                Write(Html.DisplayFor(modelItem => item.Date));

#line default
#line hidden
                EndContext();
                BeginContext(1107, 79, true);
                WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                EndContext();
                BeginContext(1187, 59, false);
#line 43 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
                Write(Html.ActionLink("Details", "Details", new { id = item.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(1246, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 44 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
                if (User.IsInRole(MagicStrings.AdminString))
                {
#line default
#line hidden
                    BeginContext(1346, 28, true);
                    WriteLiteral("                            ");
                    EndContext();
                    BeginContext(1376, 3, true);
                    WriteLiteral("|\r\n");
                    EndContext();
                    BeginContext(1408, 53, false);
#line 47 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
                    Write(Html.ActionLink("Edit", "Edit", new { id = item.Id }));

#line default
#line hidden
                    EndContext();
                    BeginContext(1463, 28, true);
                    WriteLiteral("                            ");
                    EndContext();
                    BeginContext(1493, 3, true);
                    WriteLiteral("|\r\n");
                    EndContext();
                    BeginContext(1525, 57, false);
#line 49 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
                    Write(Html.ActionLink("Delete", "Delete", new { id = item.Id }));

#line default
#line hidden
                    EndContext();
#line 49 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
                }

#line default
#line hidden
                BeginContext(1611, 50, true);
                WriteLiteral("                    </td>\r\n                </tr>\r\n");
                EndContext();
#line 53 "C:\Users\crazy\Desktop\ACM_v2.0\ACM_V2.0\ACM\ACM\Views\Meetings\All.cshtml"
            }

#line default
#line hidden
            BeginContext(1676, 32, true);
            WriteLiteral("        </tbody>\r\n    </table>\r\n");
            EndContext();
        }