Пример #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 4 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(185, 64, true);
            WriteLiteral("\r\n<h2> Add Hotel Page</h2>\r\n\r\n<div class=\"row form-group\">\r\n    ");
            EndContext();
            BeginContext(249, 87, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "85265937c548445a816b9a3bb782ccb9", async() => {
                BeginContext(316, 16, true);
                WriteLiteral("Create Hotel 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.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __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(336, 36, true);
            WriteLiteral("\r\n</div>\r\n<h3 class=\"label-warning\">");
            EndContext();
            BeginContext(373, 13, false);
#line 13 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
            Write(ViewBag.Error);

#line default
#line hidden
            EndContext();
            BeginContext(386, 7, true);
            WriteLiteral("</h3>\r\n");
            EndContext();
            BeginContext(393, 66, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "be863a85338145ee801cb4b1cdfacf23", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
#line 14 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.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_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(459, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(461, 361, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cca09eaae2ca4e84b815695cfba11230", async() => {
                BeginContext(503, 93, true);
                WriteLiteral("\r\n    <div class=\"row input-group \">\r\n        <input type=\"text\" name=\"txtSearch\" id=\"search\"");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 596, "\"", 624, 1);
#line 17 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                WriteAttributeValue("", 604, ViewBag.SearchValue, 604, 20, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(625, 190, true);
                WriteLiteral(" class=\"form-control\" placeholder=\"Search\" />\r\n        <div class=\"input-group-btn\">\r\n            <input type=\"submit\" value=\"Search\" class=\"btn btn-primary\" />\r\n        </div>\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);
            __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(822, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 23 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
            if (Model == null || Model.Count == 0)
            {
#line default
#line hidden
                BeginContext(866, 48, true);
                WriteLiteral("<h3 class=\"label-warning\">No Record found!</h3> ");
                EndContext();
#line 24 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(926, 104, true);
                WriteLiteral("    <table class=\"table\">\r\n        <thead>\r\n            <tr>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(1031, 40, false);
#line 31 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                Write(Html.DisplayNameFor(model => model.Name));

#line default
#line hidden
                EndContext();
                BeginContext(1071, 67, true);
                WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(1139, 47, false);
#line 34 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                Write(Html.DisplayNameFor(model => model.PhoneNumber));

#line default
#line hidden
                EndContext();
                BeginContext(1186, 67, true);
                WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(1254, 43, false);
#line 37 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                Write(Html.DisplayNameFor(model => model.Address));

#line default
#line hidden
                EndContext();
                BeginContext(1297, 67, true);
                WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(1365, 41, false);
#line 40 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                Write(Html.DisplayNameFor(model => model.Email));

#line default
#line hidden
                EndContext();
                BeginContext(1406, 67, true);
                WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(1474, 40, false);
#line 43 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                Write(Html.DisplayNameFor(model => model.Type));

#line default
#line hidden
                EndContext();
                BeginContext(1514, 106, true);
                WriteLiteral("\r\n                </th>\r\n                <th></th>\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n");
                EndContext();
#line 49 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                foreach (var item in Model)
                {
#line default
#line hidden
                    BeginContext(1677, 16, true);
                    WriteLiteral("                ");
                    EndContext();
                    BeginContext(1693, 1210, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6d448540bff24760b8af6cb6876a6281", async() => {
                        BeginContext(1722, 86, true);
                        WriteLiteral("\r\n                    <tr>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(1809, 39, false);
#line 54 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Name));

#line default
#line hidden
                        EndContext();
                        BeginContext(1848, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(1940, 46, false);
#line 57 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        Write(Html.DisplayFor(modelItem => item.PhoneNumber));

#line default
#line hidden
                        EndContext();
                        BeginContext(1986, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(2078, 42, false);
#line 60 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Address));

#line default
#line hidden
                        EndContext();
                        BeginContext(2120, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(2212, 40, false);
#line 63 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Email));

#line default
#line hidden
                        EndContext();
                        BeginContext(2252, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(2344, 39, false);
#line 66 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Type));

#line default
#line hidden
                        EndContext();
                        BeginContext(2383, 187, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            <div class=\"row form-group\">\r\n                                <input type=\"hidden\" name=\"TourID\"");
                        EndContext();
                        BeginWriteAttribute("value", " value=\"", 2570, "\"", 2593, 1);
#line 70 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        WriteAttributeValue("", 2578, ViewBag.TourID, 2578, 15, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(2594, 72, true);
                        WriteLiteral(" />\r\n                                <input type=\"hidden\" name=\"HotelID\"");
                        EndContext();
                        BeginWriteAttribute("value", " value=\"", 2666, "\"", 2682, 1);
#line 71 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        WriteAttributeValue("", 2674, item.ID, 2674, 8, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(2683, 213, true);
                        WriteLiteral(" />\r\n                                <button class=\"btn btn-success\" type=\"submit\">Add Hotel</button>\r\n                            </div>\r\n                        </td>\r\n                    </tr>\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_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(2903, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 77 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                }

#line default
#line hidden
                BeginContext(2920, 32, true);
                WriteLiteral("        </tbody>\r\n    </table>\r\n");
                EndContext();
#line 80 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
            }

#line default
#line hidden
            BeginContext(2955, 53, true);
            WriteLiteral("<nav aria-label=\"Suppilers navigation example\">\r\n    ");
            EndContext();
            BeginContext(3008, 33, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("vc:pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "fc4f743d142c4c5a82b8fb3cc5234fa3", async() => {
            }
                                                                        );
            __PagerViewComponentTagHelper = CreateTagHelper <global::AspNetCore.Views_Tour_AddHotel.__Generated__PagerViewComponentTagHelper>();
            __tagHelperExecutionContext.Add(__PagerViewComponentTagHelper);
#line 82 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
            __PagerViewComponentTagHelper.pagingList = Model;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("paging-list", __PagerViewComponentTagHelper.pagingList, 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(3041, 10, true);
            WriteLiteral("\r\n</nav>\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(3069, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 85 "F:\SE1278\cn5\PRN292-C#\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                await Html.RenderPartialAsync("_ValidationScriptsPartial");

#line default
#line hidden
            }
                          );
            BeginContext(3142, 13, true);
            WriteLiteral("\r\n<div>\r\n    ");
            EndContext();
            BeginContext(3155, 62, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "82f06f10ad944fb99d64d462db957322", async() => {
                BeginContext(3201, 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);
            __tagHelperExecutionContext.AddHtmlAttribute(__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(3217, 12, true);
            WriteLiteral("\r\n</div>\r\n\r\n");
            EndContext();
        }
Пример #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 4 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(185, 64, true);
            WriteLiteral("\r\n<h2> Add Hotel Page</h2>\r\n\r\n<div class=\"row form-group\">\r\n    ");
            EndContext();
            BeginContext(249, 87, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "97124e5aaf3d4cceb44cf651b3bd6cd2", async() => {
                BeginContext(316, 16, true);
                WriteLiteral("Create Hotel 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.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __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(336, 36, true);
            WriteLiteral("\r\n</div>\r\n<h3 class=\"label-warning\">");
            EndContext();
            BeginContext(373, 13, false);
#line 13 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
            Write(ViewBag.Error);

#line default
#line hidden
            EndContext();
            BeginContext(386, 7, true);
            WriteLiteral("</h3>\r\n");
            EndContext();
            BeginContext(393, 66, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fe20d68c5c2442d89771f5cd20415b06", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
#line 14 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.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_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(459, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(461, 361, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e238df5c04be44259fc6445e1fe79dcf", async() => {
                BeginContext(503, 93, true);
                WriteLiteral("\r\n    <div class=\"row input-group \">\r\n        <input type=\"text\" name=\"txtSearch\" id=\"search\"");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 596, "\"", 624, 1);
#line 17 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                WriteAttributeValue("", 604, ViewBag.SearchValue, 604, 20, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(625, 190, true);
                WriteLiteral(" class=\"form-control\" placeholder=\"Search\" />\r\n        <div class=\"input-group-btn\">\r\n            <input type=\"submit\" value=\"Search\" class=\"btn btn-primary\" />\r\n        </div>\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);
            __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(822, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 23 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
            if (Model == null || Model.Count == 0)
            {
#line default
#line hidden
                BeginContext(866, 48, true);
                WriteLiteral("<h3 class=\"label-warning\">No Record found!</h3> ");
                EndContext();
#line 24 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(926, 104, true);
                WriteLiteral("    <table class=\"table\">\r\n        <thead>\r\n            <tr>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(1031, 40, false);
#line 31 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                Write(Html.DisplayNameFor(model => model.Name));

#line default
#line hidden
                EndContext();
                BeginContext(1071, 67, true);
                WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(1139, 47, false);
#line 34 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                Write(Html.DisplayNameFor(model => model.PhoneNumber));

#line default
#line hidden
                EndContext();
                BeginContext(1186, 67, true);
                WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(1254, 43, false);
#line 37 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                Write(Html.DisplayNameFor(model => model.Address));

#line default
#line hidden
                EndContext();
                BeginContext(1297, 67, true);
                WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(1365, 41, false);
#line 40 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                Write(Html.DisplayNameFor(model => model.Email));

#line default
#line hidden
                EndContext();
                BeginContext(1406, 67, true);
                WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(1474, 40, false);
#line 43 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                Write(Html.DisplayNameFor(model => model.Type));

#line default
#line hidden
                EndContext();
                BeginContext(1514, 106, true);
                WriteLiteral("\r\n                </th>\r\n                <th></th>\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n");
                EndContext();
#line 49 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                foreach (var item in Model)
                {
#line default
#line hidden
                    BeginContext(1677, 16, true);
                    WriteLiteral("                ");
                    EndContext();
                    BeginContext(1693, 1210, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "24d636a0617d44a182113755f291886f", async() => {
                        BeginContext(1722, 86, true);
                        WriteLiteral("\r\n                    <tr>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(1809, 39, false);
#line 54 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Name));

#line default
#line hidden
                        EndContext();
                        BeginContext(1848, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(1940, 46, false);
#line 57 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        Write(Html.DisplayFor(modelItem => item.PhoneNumber));

#line default
#line hidden
                        EndContext();
                        BeginContext(1986, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(2078, 42, false);
#line 60 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Address));

#line default
#line hidden
                        EndContext();
                        BeginContext(2120, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(2212, 40, false);
#line 63 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Email));

#line default
#line hidden
                        EndContext();
                        BeginContext(2252, 91, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                        EndContext();
                        BeginContext(2344, 39, false);
#line 66 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        Write(Html.DisplayFor(modelItem => item.Type));

#line default
#line hidden
                        EndContext();
                        BeginContext(2383, 187, true);
                        WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            <div class=\"row form-group\">\r\n                                <input type=\"hidden\" name=\"TourID\"");
                        EndContext();
                        BeginWriteAttribute("value", " value=\"", 2570, "\"", 2593, 1);
#line 70 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        WriteAttributeValue("", 2578, ViewBag.TourID, 2578, 15, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(2594, 72, true);
                        WriteLiteral(" />\r\n                                <input type=\"hidden\" name=\"HotelID\"");
                        EndContext();
                        BeginWriteAttribute("value", " value=\"", 2666, "\"", 2682, 1);
#line 71 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                        WriteAttributeValue("", 2674, item.ID, 2674, 8, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(2683, 213, true);
                        WriteLiteral(" />\r\n                                <button class=\"btn btn-success\" type=\"submit\">Add Hotel</button>\r\n                            </div>\r\n                        </td>\r\n                    </tr>\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_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(2903, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 77 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                }

#line default
#line hidden
                BeginContext(2920, 32, true);
                WriteLiteral("        </tbody>\r\n    </table>\r\n");
                EndContext();
#line 80 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
            }

#line default
#line hidden
            BeginContext(2955, 53, true);
            WriteLiteral("<nav aria-label=\"Suppilers navigation example\">\r\n    ");
            EndContext();
            BeginContext(3008, 33, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("vc:pager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "fb0b6647054b4f7e8e13cb99379a3331", async() => {
            }
                                                                        );
            __PagerViewComponentTagHelper = CreateTagHelper <global::AspNetCore.Views_Tour_AddHotel.__Generated__PagerViewComponentTagHelper>();
            __tagHelperExecutionContext.Add(__PagerViewComponentTagHelper);
#line 82 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
            __PagerViewComponentTagHelper.pagingList = Model;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("paging-list", __PagerViewComponentTagHelper.pagingList, 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(3041, 10, true);
            WriteLiteral("\r\n</nav>\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(3069, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 85 "G:\Chuyen_Nganh_5\PRN292\New folder\WebTravel\ProjectDemo12\ProjectDemo12\Views\Tour\AddHotel.cshtml"
                await Html.RenderPartialAsync("_ValidationScriptsPartial");

#line default
#line hidden
            }
                          );
            BeginContext(3142, 13, true);
            WriteLiteral("\r\n<div>\r\n    ");
            EndContext();
            BeginContext(3155, 62, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "745ef5d5a0fc4ee5aad914e078eb2cc2", async() => {
                BeginContext(3201, 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);
            __tagHelperExecutionContext.AddHtmlAttribute(__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(3217, 12, true);
            WriteLiteral("\r\n</div>\r\n\r\n");
            EndContext();
        }