Esempio n. 1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(28, 206, true);
            WriteLiteral("\r\n<div class=\"w3-content\" style=\"max-width:1100px\">\r\n    <div class=\"w3-row w3-padding-64\" id=\"menu\">\r\n        <div class=\"w3-col l6 w3-padding-large\">\r\n            <h1 class=\"w3-center\">Our Menu</h1><br>\r\n");
            EndContext();
#line 7 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\Assignments\Assignment2\Assignment2\Views\Recipe\List.cshtml"
            foreach (var r in Model.Recipes)
            {
#line default
#line hidden
                BeginContext(313, 32, false);
#line 9 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\Assignments\Assignment2\Assignment2\Views\Recipe\List.cshtml"
                Write(Html.Partial("RecipeSummary", r));

#line default
#line hidden
                EndContext();
#line 9 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\Assignments\Assignment2\Assignment2\Views\Recipe\List.cshtml"
            }

#line default
#line hidden
            BeginContext(362, 24, true);
            WriteLiteral("        </div>\r\n        ");
            EndContext();
            BeginContext(386, 216, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "febaae994d684dd49de853293147693c", async() => {
                BeginContext(584, 12, true);
                WriteLiteral("\r\n\r\n        ");
                EndContext();
            }
                                                                        );
            __Assignment2_Infrastructure_PageLinkTagHelper = CreateTagHelper <global::Assignment2.Infrastructure.PageLinkTagHelper>();
            __tagHelperExecutionContext.Add(__Assignment2_Infrastructure_PageLinkTagHelper);
#line 12 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\Assignments\Assignment2\Assignment2\Views\Recipe\List.cshtml"
            __Assignment2_Infrastructure_PageLinkTagHelper.PageModel = Model.PagingInfo;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __Assignment2_Infrastructure_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
#line 13 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\Assignments\Assignment2\Assignment2\Views\Recipe\List.cshtml"
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClassesEnabled = true;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("page-classes-enabled", __Assignment2_Infrastructure_PageLinkTagHelper.PageClassesEnabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClassNormal = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClassSelected = (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(602, 64, true);
            WriteLiteral("\r\n        <div class=\"w3-col l6 w3-padding-large\">\r\n            ");
            EndContext();
            BeginContext(666, 108, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "5c189ca1ea304f1f8059b56f22302753", 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_4);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(774, 36, true);
            WriteLiteral("\r\n        </div>\r\n    </div>\r\n</div>");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Recipe\List.cshtml"

            Layout = "_Layout";

#line default
#line hidden
            BeginContext(61, 246, true);
            WriteLiteral("\r\n<div class=\"w3-content\" style=\"max-width:1100px\">\r\n    <div class=\"w3-row w3-padding-64\" style=\"padding-bottom:16px !important;\" id=\"menu\">\r\n        <div class=\"w3-col l6 w3-padding-large\">\r\n            <h1 class=\"w3-center\">Our Menu</h1><br>\r\n");
            EndContext();
#line 10 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Recipe\List.cshtml"
            if (Model.Recipes.Any())
            {
#line default
#line hidden
#line 12 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Recipe\List.cshtml"
                foreach (var r in Model.Recipes)
                {
#line default
#line hidden
                    BeginContext(452, 32, false);
#line 14 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Recipe\List.cshtml"
                    Write(Html.Partial("RecipeSummary", r));

#line default
#line hidden
                    EndContext();
#line 14 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Recipe\List.cshtml"
                }

#line default
#line hidden
#line 15 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Recipe\List.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(553, 107, true);
                WriteLiteral("                <h4>Sorry</h4>\r\n                <p class=\"w3-text-grey\">We couldn\'t find any recipes.</p>\r\n");
                EndContext();
#line 21 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Recipe\List.cshtml"
            }

#line default
#line hidden
            BeginContext(675, 43, true);
            WriteLiteral("        </div>\r\n        <div>\r\n            ");
            EndContext();
            BeginContext(718, 333, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3e3ebb49663c4dd8b50be73f65ee4c9f", async() => {
                BeginContext(1031, 14, true);
                WriteLiteral("\r\n            ");
                EndContext();
            }
                                                                        );
            __Assignment2_Infrastructure_PageLinkTagHelper = CreateTagHelper <global::Assignment2.Infrastructure.PageLinkTagHelper>();
            __tagHelperExecutionContext.Add(__Assignment2_Infrastructure_PageLinkTagHelper);
#line 24 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Recipe\List.cshtml"
            __Assignment2_Infrastructure_PageLinkTagHelper.PageModel = Model.PagingInfo;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __Assignment2_Infrastructure_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
#line 25 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Recipe\List.cshtml"
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClassesEnabled = true;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("page-classes-enabled", __Assignment2_Infrastructure_PageLinkTagHelper.PageClassesEnabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            BeginWriteTagHelperAttribute();
#line 25 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Recipe\List.cshtml"
            WriteLiteral(Model.KeyWord);

#line default
#line hidden
            __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
            __Assignment2_Infrastructure_PageLinkTagHelper.PageKeyword = __tagHelperStringValueBuffer;
            __tagHelperExecutionContext.AddTagHelperAttribute("page-keyword", __Assignment2_Infrastructure_PageLinkTagHelper.PageKeyword, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClassNormal = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClassSelected = (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(1051, 80, true);
            WriteLiteral("\r\n        </div>\r\n        <div class=\"w3-col l6 w3-padding-large\">\r\n            ");
            EndContext();
            BeginContext(1131, 108, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "7237b9328e3e4e82bb4284da33d0cade", 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_4);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1239, 285, true);
            WriteLiteral(@"
        </div>
    </div>
    <hr />
    <div class=""w3-row"" style=""padding-left:16px !important"">
        <h4>Additional Information</h4>
        <p class=""w3-text-gray"">To add a new recipe, modify already existent recipe, or delete recipe click the button below </p>
        ");
            EndContext();
            BeginContext(1524, 122, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7d2866e3f507428ab0a53be23f0482c6", async() => {
                BeginContext(1632, 10, true);
                WriteLiteral("Admin Page");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_10.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (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(1646, 32, true);
            WriteLiteral("\r\n    </div>\r\n    <hr />\r\n</div>");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"

            ViewBag.Title    = "All Recipes";
            ViewBag.MyHeader = "All Recipes";
            Layout           = "_AdminLayout";

#line default
#line hidden
            BeginContext(140, 171, true);
            WriteLiteral("<table class=\"w3-table-all\">\r\n    <tr class=\"w3-border-black\">\r\n        <th>ID</th>\r\n        <th>Title</th>\r\n        <th>Author</th>\r\n        <th>Actions</th>\r\n    </tr>\r\n");
            EndContext();
#line 14 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"
            foreach (Recipe r in Model.Recipes)
            {
#line default
#line hidden
                BeginContext(360, 30, true);
                WriteLiteral("        <tr>\r\n            <td>");
                EndContext();
                BeginContext(391, 10, false);
#line 17 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"
                Write(r.RecipeId);

#line default
#line hidden
                EndContext();
                BeginContext(401, 23, true);
                WriteLiteral("</td>\r\n            <td>");
                EndContext();
                BeginContext(425, 7, false);
#line 18 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"
                Write(r.Title);

#line default
#line hidden
                EndContext();
                BeginContext(432, 23, true);
                WriteLiteral("</td>\r\n            <td>");
                EndContext();
                BeginContext(456, 6, false);
#line 19 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"
                Write(r.Name);

#line default
#line hidden
                EndContext();
                BeginContext(462, 41, true);
                WriteLiteral("</td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(503, 474, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c75c01ba149243cbbec456104d6c8f0a", async() => {
                    BeginContext(583, 58, true);
                    WriteLiteral("\r\n                    <input type=\"hidden\" name=\"RecipeId\"");
                    EndContext();
                    BeginWriteAttribute("value", " value=\"", 641, "\"", 660, 1);
#line 22 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"
                    WriteAttributeValue("", 649, r.RecipeId, 649, 11, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(661, 25, true);
                    WriteLiteral(" />\r\n                    ");
                    EndContext();
                    BeginContext(686, 148, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e00c996a15ef4cdc81c9f126a9877b2f", async() => {
                        BeginContext(826, 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_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__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-recipeId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                    }
                    BeginWriteTagHelperAttribute();
#line 23 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"
                    WriteLiteral(r.RecipeId);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["recipeId"] = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-recipeId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["recipeId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    __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(834, 136, true);
                    WriteLiteral("\r\n                    <button class=\"w3-btn\" style=\"background-color:brown;color:white;\" type=\"submit\">Delete</button>\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);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "id", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 21 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"
                AddHtmlAttributeValue("", 513, r.RecipeId, 513, 11, false);

#line default
#line hidden
                EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __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(977, 36, true);
                WriteLiteral("\r\n            </td>\r\n        </tr>\r\n");
                EndContext();
#line 28 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1020, 21, true);
            WriteLiteral("</table>\r\n<div>\r\n    ");
            EndContext();
            BeginContext(1041, 264, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6d0b438e7eaf4689b365186cab807f86", async() => {
                BeginContext(1293, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
            }
                                                                        );
            __Assignment2_Infrastructure_PageLinkTagHelper = CreateTagHelper <global::Assignment2.Infrastructure.PageLinkTagHelper>();
            __tagHelperExecutionContext.Add(__Assignment2_Infrastructure_PageLinkTagHelper);
#line 31 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"
            __Assignment2_Infrastructure_PageLinkTagHelper.PageModel = Model.PagingInfo;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __Assignment2_Infrastructure_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_6.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
#line 32 "C:\Users\ostri\OneDrive\Desktop\Folders\College\Fall 2019\COMP 229\COMP229-Project\COMP229-Assignment2\COMP229-Assignment2\Assignment2\Views\Admin\Index.cshtml"
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClassesEnabled = true;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("page-classes-enabled", __Assignment2_Infrastructure_PageLinkTagHelper.PageClassesEnabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_7.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClassNormal = (string)__tagHelperAttribute_8.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
            __Assignment2_Infrastructure_PageLinkTagHelper.PageClassSelected = (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(1305, 10, true);
            WriteLiteral("\r\n</div>\r\n");
            EndContext();
            BeginContext(1315, 145, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3ab6fe9467f46bf99f0cf9a8c96cb24", async() => {
                BeginContext(1444, 12, true);
                WriteLiteral("Back to Main");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (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(1460, 139, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9be08178390143f9aff017c41dad0b27", async() => {
                BeginContext(1585, 10, true);
                WriteLiteral("Add Recipe");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_16.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
            __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(1599, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }