#pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"

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

#line default
#line hidden
            BeginContext(138, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(144, 4077, true);
            WriteLiteral(@"    <style>
        .rowClickColor {
            background-color: lightblue;
        }

        .wt {
            background-color: white;
        }

        .txtPageSize {
            width: 50px;
            padding: 7px 5px;
            margin-right: 10px;
            float: right;
            border: none;
            text-align: center;
            outline: none;
            box-shadow: none;
        }

            .txtPageSize::-webkit-inner-spin-button {
                -webkit-appearance: none;
                display: none;
            }


        .editableBox1, .editableBox2, .editableBox1:focus, .editableBox2:focus {
            display: block;
            width: 100%;
            height: calc(2.25rem + 2px);
            padding: 0.375rem 0.75rem;
            font-size: 1rem;
            line-height: 1.5;
            color: #495057;
            background-color: aliceblue;
            background-clip: padding-box;
            border: none;
            /*border-");
            WriteLiteral(@"radius: 0.25rem;*/
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
            -moz-appearance: none;
            -webkit-appearance: none;
            background-image: url('https://maxcdn.icons8.com/Share/icon/Arrows//expand_arrow1600.png');
            background-repeat: no-repeat;
            background-size: 15px;
            background-position: right center;
            background-position-x: 80%;
        }


            .editableBox1:focus, .editableBox2:focus {
                outline: none;
            }

        .timeTextBox {
            width: 54px;
            margin-left: -78px;
            height: 25px;
            border: none;
        }

        #btnSearch {
            background-color: #d0d6dc;
            border: #d0d6db;
        }

            #btnSearch:hover {
                background-color: #d0d6dc;
                border: #d0d6db;
                opacity: 0.7;
            }

        .btnEdit, .btnDel {
       ");
            WriteLiteral(@"     background-color: #bcd1e8;
            border: #bcd1e4;
        }

            .btnEdit:focus, .btnDel:focus {
                box-shadow: none;
                outline: none;
            }

        /*.searchNone {
                            display: none;
                        }

                        .searchBlock {
                            display: block;
                        }*/
        #searchMinus {
            display: none;
        }

        #btnSearchPlusTow {
            display: none;
        }

        /*select {
                    text-align-last: right;
                }*/
        /*option {
                    direction: ltr;
                }*/
        table {
            table-layout: fixed;
            width: 100%;
            /*border-collapse:collapse;*/
        }

        td {
            overflow: hidden;
            white-space: nowrap;
            /*word-wrap:break-word;*/
        }

        .table td {
            padding: 0p");
            WriteLiteral(@"x;
            vertical-align: middle;
        }

        .btnSort {
            background-color: #70a6e4;
            border: none;
            color: black;
            text-decoration: none;
        }

            .btnSort:focus {
                outline: none;
            }

            .btnSort:hover {
                cursor: pointer;
            }

        .btnSortActive {
            color: gray;
        }

        .dis_able {
            pointer-events: none;
            color: lightgray;
        }

        tbody {
            font-size: 14px;
        }



        /*.btn:focus{
                    box-shadow:none;
                }*/

        /*.btn:focus, .btn:active:focus, .btn.active:focus,
                .btn.focus, .btn:active.focus, .btn.active.focus {
                    outline: none;
                    box-shadow:none;
                }*/

        /*.sortAsc{
                    display:none;
                }*/

        /*");
            EndContext();
            BeginContext(4222, 698, true);
            WriteLiteral(@"@media screen and (max-width: 600px) {
          table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
          }

          table tr {
            border-bottom: 3px solid #ddd;
            display: block;
          }

          table td {
            border-bottom: 1px solid #ddd;
            display: block;
            text-align: right;
          }

          table td::before {
            content: attr(data-label);
            float: left;
          }
        }*/

    </style>
");
            EndContext();
#line 204 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"

            ViewBag.textBox  = "searchParam";
            ViewBag.textBox1 = "searchParam1";



            //ViewBag.sortParam = null;

            //string searchParam = ViewBag.test;
            //ViewBag.seP = searchParam;


#line default
#line hidden
            BeginContext(5131, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(5133, 6386, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a72622c8d7e5505b91278aab606c6b294c8d8e016019", async() => {
                BeginContext(5152, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
                BeginContext(5194, 430, true);
                WriteLiteral(@"
    <div class=""container-fluid"" style="" min-height:60px; background-color:aliceblue;"">
        <div class=""row"" style=""padding:10px 0px;"">
            <div class=""col-12"">
                <div class=""row"">
                    <div class=""col-2"">
                        <div class=""row wrapper"">
                            <div class=""col-12"">
                                <div>
                                    ");
                EndContext();
                BeginContext(5625, 162, false);
#line 229 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                Write(Html.Editor((string)ViewBag.textBox, new { htmlAttributes = new { @class = "form-control searchTextBox1", placeholder = "Enter Service", autocomplete = "off" } }));

#line default
#line hidden
                EndContext();
                BeginContext(5787, 80, true);
                WriteLiteral("\r\n                                </div>\r\n                            </div>\r\n\r\n");
                EndContext();
                BeginContext(5980, 193, true);
                WriteLiteral("                        </div>\r\n                    </div>\r\n                    <div class=\"col-1\">\r\n                        <div class=\"\">\r\n                            <button name=\"sortParam\"");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 6173, "\"", 6203, 1);
#line 238 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                WriteAttributeValue("", 6181, ViewBag.sortParamview, 6181, 22, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(6204, 282, true);
                WriteLiteral(@" class=""btn btn-primary"" id=""btnSearch"">
                                <i class=""fa fa-search fa-sm""></i>Search
                            </button>
                        </div>

                    </div>
                    <div class=""col-1"">
                        ");
                EndContext();
                BeginContext(6486, 162, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a72622c8d7e5505b91278aab606c6b294c8d8e018576", async() => {
                    BeginContext(6636, 8, true);
                    WriteLiteral("Show All");
                    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-sortParam", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 245 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                WriteLiteral(ViewBag.sortParamView);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortParam"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortParam", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortParam"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 245 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                WriteLiteral(ViewBag.PageSize);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["PageSize"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-PageSize", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["PageSize"], 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(6648, 108, true);
                WriteLiteral("\r\n\r\n                    </div>\r\n\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n");
                EndContext();
                BeginContext(6779, 210, true);
                WriteLiteral("\r\n    <div class=\"container-fluid\" style=\"margin-top:10px; background-color:aliceblue;position:relative;\">\r\n        <div class=\"row\" style=\"padding-top:10px;\">\r\n            <div class=\"col-8\">\r\n                ");
                EndContext();
                BeginContext(6989, 141, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a72622c8d7e5505b91278aab606c6b294c8d8e022359", async() => {
                    BeginContext(7104, 22, true);
                    WriteLiteral("&nbsp; Add New Country");
                    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);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-returnUrl", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 259 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                WriteLiteral(ViewBag.returnUrl);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.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(7130, 145, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-row col-4\" style=\"width:170px; position:absolute;right:0; margin:0;\">\r\n                <div>\r\n");
                EndContext();
                BeginContext(7425, 56, true);
                WriteLiteral("                    <input type=\"number\" name=\"PageSize\"");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 7481, "\"", 7506, 1);
#line 264 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                WriteAttributeValue("", 7489, ViewBag.PageSize, 7489, 17, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(7507, 619, true);
                WriteLiteral(@" class=""txtPageSize"" />
                </div>
                <div>
                    <label class=""form-control"" style=""border:none; background-color:aliceblue;"">Rows</label>
                </div>

            </div>


            <div class=""container-fluid"" style=""min-height:400px;"">
                <table class=""table table-light table-bordered table-hover bg-transparent"" id=""myTable"" style=""/*min-width:1107px;*/"">
                    <thead style=""background-color:#70a6e4;"">
                        <tr class=""text-center"">

                            <th>
                                ");
                EndContext();
                BeginContext(8127, 65, false);
#line 279 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                Write(Html.DisplayNameFor(m => m.Services.FirstOrDefault().ServiceName));

#line default
#line hidden
                EndContext();
                BeginContext(8192, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
#line 281 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                if (ViewBag.sortParamView == "SortDec")
                {
#line default
#line hidden
                    BeginContext(8305, 153, true);
                    WriteLiteral("                                    <button name=\"sortParam\" value=\"SortAsc\" class=\"btnSort\" id=\"btnSortDecName\"><i class=\"fa fa-sort-up\"></i></button>\r\n");
                    EndContext();
#line 284 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(8712, 155, true);
                    WriteLiteral("                                    <button name=\"sortParam\" value=\"SortDec\" class=\"btnSort\" id=\"btnSortAscName\"><i class=\"fa fa-sort-down\"></i></button>\r\n");
                    EndContext();
#line 290 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(9050, 347, true);
                WriteLiteral(@"
                            </th>


                            <th style=""width:41px; border:none;""></th>
                            <th style=""width:41px; border:none;""></th>
                            <th style=""width:41px; border:none;""></th>
                        </tr>
                    </thead>
                    <tbody>
");
                EndContext();
#line 303 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                if (Model == null)
                {
#line default
#line hidden
                    BeginContext(9469, 126, true);
                    WriteLiteral("                            <tr>\r\n                                <td>No Model Data!</td>\r\n                            </tr>\r\n");
                    EndContext();
#line 308 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                }
                else
                {
#line default
#line hidden
#line 312 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                    foreach (var item in Model.Services)
                    {
#line default
#line hidden
                        BeginContext(9779, 120, true);
                        WriteLiteral("                                <tr>\r\n                                    <td>\r\n                                        ");
                        EndContext();
                        BeginContext(9900, 16, false);
#line 316 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                        Write(item.ServiceName);

#line default
#line hidden
                        EndContext();
                        BeginContext(9916, 149, true);
                        WriteLiteral("\r\n                                    </td>\r\n\r\n                                    <td class=\"text-center\">\r\n                                        ");
                        EndContext();
                        BeginContext(10065, 122, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a72622c8d7e5505b91278aab606c6b294c8d8e030235", async() => {
                            BeginContext(10151, 32, true);
                            WriteLiteral("<i class=\"fa fa-edit fa-sm\"></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_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__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 320 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                        WriteLiteral(item.ServiceID);

#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(10187, 151, true);
                        WriteLiteral("\r\n                                    </td>\r\n\r\n                                    <td class=\"text-center\">\r\n\r\n                                        ");
                        EndContext();
                        BeginContext(10338, 125, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a72622c8d7e5505b91278aab606c6b294c8d8e033009", async() => {
                            BeginContext(10422, 37, true);
                            WriteLiteral("<i class=\"fa fa-trash-alt fa-sm\"></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_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 325 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                        WriteLiteral(item.ServiceID);

#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(10463, 151, true);
                        WriteLiteral("\r\n\r\n                                    </td>\r\n                                    <td class=\"text-center\">\r\n\r\n                                        ");
                        EndContext();
                        BeginContext(10614, 129, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a72622c8d7e5505b91278aab606c6b294c8d8e035756", async() => {
                            BeginContext(10701, 38, true);
                            WriteLiteral("<i class=\"fa fa-ellipsis-h fa-sm\"></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_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 330 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                        WriteLiteral(item.ServiceID);

#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_9);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(10743, 86, true);
                        WriteLiteral("\r\n\r\n                                    </td>\r\n                                </tr>\r\n");
                        EndContext();
#line 334 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                    }

#line default
#line hidden
#line 334 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(10887, 82, true);
                WriteLiteral("                    </tbody>\r\n                </table>\r\n            </div>\r\n\r\n\r\n\r\n");
                EndContext();
                BeginContext(11001, 14, true);
                WriteLiteral("\r\n            ");
                EndContext();
                BeginContext(11015, 465, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a72622c8d7e5505b91278aab606c6b294c8d8e039065", async() => {
                }
                                                                            );
                __sssHMS_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::sssHMS.TagHelpers.PageLinkTagHelper>();
                __tagHelperExecutionContext.Add(__sssHMS_TagHelpers_PageLinkTagHelper);
#line 344 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                __sssHMS_TagHelpers_PageLinkTagHelper.PageModel = Model.PagingInfo;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __sssHMS_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
#line 345 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                __sssHMS_TagHelpers_PageLinkTagHelper.PageClassesEnabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-classes-enabled", __sssHMS_TagHelpers_PageLinkTagHelper.PageClassesEnabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageClassNormal = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageClassSelected = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageLast = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageFirst = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                __sssHMS_TagHelpers_PageLinkTagHelper.PagePrev = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageNext = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18);
                __sssHMS_TagHelpers_PageLinkTagHelper.DisabledPage = (string)__tagHelperAttribute_19.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(11480, 32, true);
                WriteLiteral("\r\n\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.Method = (string)__tagHelperAttribute_20.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

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

    <script type=""text/javascript"">
    $(document).ready(function () {
        $("".searchTextBox1"").focus();
        //for textbox focus select all text in textbox
        $(""input[type='text']"").on(""click"", function () {
            $(this).select();
        });
        //for being active soft button
        var bb = """);
                EndContext();
                BeginContext(11875, 21, false);
#line 365 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\Service\Index.cshtml"
                Write(ViewBag.sortParamView);

#line default
#line hidden
                EndContext();
                BeginContext(11896, 1078, true);
                WriteLiteral(@""";
        if (bb == ""SortDec"") {
            $(""#btnSortDecName"").addClass(""btnSortActive"");
        }
        else {
            $(""#btnSortAscName"").addClass(""btnSortActive"");
        }


        //for table row clicked color changing
            $('#myTable tbody tr').click(function () {
                $(this).toggleClass('rowClickColor');/*.siblings().removeClass('bg-success');*/
                $(this).siblings().removeClass('rowClickColor');
            });

        
        $("".searchTextBox1"").keypress(function (event) {
                
                if (event.keyCode == 13) {
                    $(""#btnSearch"").focus();
                    event.preventDefault();
                    return false;
                    
                    //return event.key != ""Enter"";
                }
            });
        //$(""#btnSearch"").click(function () {
        //    $(""form"").submit();
        //});
        //$("".btnSort"").click(function () {
        //    $(""form"").submit");
                WriteLiteral("();\r\n        //});\r\n\r\n\r\n        });\r\n    </script>\r\n\r\n");
                EndContext();
            }
                          );
        }
Exemple #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"

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

#line default
#line hidden
            BeginContext(144, 3003, true);
            WriteLiteral(@"

<style>
    .rowClickColor {
        background-color: lightblue;
    }

    .wt {
        background-color: white;
    }

    .txtPageSize {
        width: 50px;
        padding: 7px 5px;
        margin-right: 10px;
        float: right;
        border: none;
        text-align: center;
        outline: none;
        box-shadow: none;
    }

        .txtPageSize::-webkit-inner-spin-button {
            -webkit-appearance: none;
            display: none;
        }


    .editableBox1, .editableBox2, .editableBox1:focus, .editableBox2:focus {
        display: block;
        width: 100%;
        height: calc(2.25rem + 2px);
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
        color: #495057;
        background-color: aliceblue;
        background-clip: padding-box;
        border: none;
        /*border-radius: 0.25rem;*/
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        -moz-appearance: ");
            WriteLiteral(@"none;
        -webkit-appearance: none;
    }


        .editableBox1:focus, .editableBox2:focus {
            outline: none;
        }

    .timeTextBox {
        width: 54px;
        margin-left: -78px;
        height: 25px;
        border: none;
    }

    #btnSearch {
        background-color: #d0d6dc;
        border: #d0d6db;
        width: 90px;
    }

        #btnSearch:hover {
            background-color: #d0d6dc;
            border: #d0d6db;
            opacity: 0.7;
        }

    .btnEdit, .btnDel {
        background-color: #bcd1e8;
        border: #bcd1e4;
    }

        .btnEdit:focus, .btnDel:focus {
            box-shadow: none;
            outline: none;
        }

    /*.searchNone {
                            display: none;
                        }

                        .searchBlock {
                            display: block;
                        }*/
    #searchMinus {
        display: none;
    }

    #btnSearchPlusTow {
        ");
            WriteLiteral(@"display: none;
    }

    /*select {
                    text-align-last: right;
                }*/
    /*option {
                    direction: ltr;
                }*/
    table {
        table-layout: fixed;
        width: 100%;
        /*border-collapse:collapse;*/
    }

    td {
        overflow: hidden;
        white-space: nowrap;
        /*word-wrap:break-word;*/
    }

    .table td {
        padding: 0px;
        vertical-align: middle;
    }

    .btnSort {
        background-color: #70a6e4;
        border: none;
        color: black;
        text-decoration: none;
    }

        .btnSort:focus {
            outline: none;
        }

        .btnSort:hover {
            cursor: pointer;
        }

    .btnSortActive {
        color: gray;
    }

    .dis_able {
        pointer-events: none;
        color: lightgray;
    }

    tbody {
        font-size: 14px;
    }
</style>
");
            EndContext();
#line 151 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"

            ViewBag.textBox = "searchParam";

#line default
#line hidden
            BeginContext(3192, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(3194, 5972, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3af58256569969666e5f8a2f9ce35b58d4df95213911", async() => {
                BeginContext(3213, 425, true);
                WriteLiteral(@"

    <div class=""container-fluid"" style="" min-height:60px; background-color:aliceblue;"">
        <div class=""row"" style=""padding:10px;"">
            <div class=""col-12"">
                <div class=""row"">
                    <div class=""col-1"" style=""margin-top:8px;"">
                        <label>MartialStatus</label>
                    </div>
                    <div class=""col-2"">

                        ");
                EndContext();
                BeginContext(3639, 154, false);
#line 166 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                Write(Html.Editor((string)ViewBag.textBox, new { htmlAttributes = new { @class = "form-control", placeholder = "Search MartialStatus", autocomplete = "off" } }));

#line default
#line hidden
                EndContext();
                BeginContext(3793, 144, true);
                WriteLiteral("\r\n                    </div>\r\n                    <div class=\"col-1\" style=\"text-align:left;\">\r\n                        <button name=\"sortParam\"");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 3937, "\"", 3967, 1);
#line 169 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                WriteAttributeValue("", 3945, ViewBag.sortParamview, 3945, 22, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(3968, 278, true);
                WriteLiteral(@" class=""btn btn-primary form-control"" id=""btnSearch"">
                            <i class=""fa fa-search fa-sm""></i>Search
                        </button>
                    </div>
                    <div class=""col-2"" style=""text-align:right"">
                        ");
                EndContext();
                BeginContext(4246, 162, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3af58256569969666e5f8a2f9ce35b58d4df95216081", async() => {
                    BeginContext(4396, 8, true);
                    WriteLiteral("Show All");
                    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-sortParam", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 174 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                WriteLiteral(ViewBag.sortParamView);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortParam"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-sortParam", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["sortParam"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 174 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                WriteLiteral(ViewBag.PageSize);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["PageSize"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-PageSize", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["PageSize"], 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(4408, 318, true);
                WriteLiteral(@"
                    </div>
                </div>
            </div>
        </div>
    </div>




    <div class=""container-fluid"" style=""margin-top:10px; background-color:aliceblue;position:relative;"">
        <div class=""row"" style=""padding-top:10px;"">
            <div class=""col-8"">
                ");
                EndContext();
                BeginContext(4726, 147, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3af58256569969666e5f8a2f9ce35b58d4df95219737", async() => {
                    BeginContext(4841, 28, true);
                    WriteLiteral("&nbsp; Add New MartialStatus");
                    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);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-returnUrl", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 187 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                WriteLiteral(ViewBag.returnUrl);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.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(4873, 145, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-row col-4\" style=\"width:170px; position:absolute;right:0; margin:0;\">\r\n                <div>\r\n");
                EndContext();
                BeginContext(5168, 56, true);
                WriteLiteral("                    <input type=\"number\" name=\"PageSize\"");
                EndContext();
                BeginWriteAttribute("value", " value=\"", 5224, "\"", 5249, 1);
#line 192 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                WriteAttributeValue("", 5232, ViewBag.PageSize, 5232, 17, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(5250, 634, true);
                WriteLiteral(@" class=""txtPageSize"" />
                </div>
                <div>
                    <label class=""form-control"" style=""border:none; background-color:aliceblue;"">Rows</label>
                </div>
            </div>
            <div class=""container-fluid"" style=""min-height:400px;"">
                <table class=""table table-light table-bordered table-hover bg-transparent"" id=""myTable"" style=""/*min-width:1107px;*/"">
                    <thead style=""background-color:#70a6e4;"">
                        <tr class=""text-center"">

                            <th style=""width:640px;"">
                                ");
                EndContext();
                BeginContext(5885, 78, false);
#line 204 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                Write(Html.DisplayNameFor(m => m.MaritalStatuses.FirstOrDefault().MaritalStatusName));

#line default
#line hidden
                EndContext();
                BeginContext(5963, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
#line 206 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                if (ViewBag.sortParamView == "SortDec")
                {
#line default
#line hidden
                    BeginContext(6076, 153, true);
                    WriteLiteral("                                    <button name=\"sortParam\" value=\"SortAsc\" class=\"btnSort\" id=\"btnSortDecName\"><i class=\"fa fa-sort-up\"></i></button>\r\n");
                    EndContext();
#line 209 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(6483, 155, true);
                    WriteLiteral("                                    <button name=\"sortParam\" value=\"SortDec\" class=\"btnSort\" id=\"btnSortAscName\"><i class=\"fa fa-sort-down\"></i></button>\r\n");
                    EndContext();
#line 215 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(6821, 88, true);
                WriteLiteral("\r\n                            </th>\r\n                            <th>Operations</th>\r\n\r\n");
                EndContext();
                BeginContext(7137, 90, true);
                WriteLiteral("                        </tr>\r\n                    </thead>\r\n                    <tbody>\r\n");
                EndContext();
#line 228 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                if (Model == null)
                {
#line default
#line hidden
                    BeginContext(7299, 126, true);
                    WriteLiteral("                            <tr>\r\n                                <td>No Model Data!</td>\r\n                            </tr>\r\n");
                    EndContext();
#line 233 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                }
                else
                {
#line default
#line hidden
#line 237 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                    foreach (var item in Model.MaritalStatuses)
                    {
#line default
#line hidden
                        BeginContext(7616, 142, true);
                        WriteLiteral("                                <tr>\r\n\r\n                                    <td class=\"text-center\">\r\n                                        ");
                        EndContext();
                        BeginContext(7759, 22, false);
#line 242 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                        Write(item.MaritalStatusName);

#line default
#line hidden
                        EndContext();
                        BeginContext(7781, 160, true);
                        WriteLiteral("\r\n                                    </td>\r\n\r\n                                    <td class=\"text-center form-group\">\r\n                                        ");
                        EndContext();
                        BeginContext(7941, 128, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3af58256569969666e5f8a2f9ce35b58d4df95227708", async() => {
                            BeginContext(8033, 32, true);
                            WriteLiteral("<i class=\"fa fa-edit fa-sm\"></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_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__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 246 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                        WriteLiteral(item.MaritalStatusID);

#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(8069, 42, true);
                        WriteLiteral("\r\n                                        ");
                        EndContext();
                        BeginContext(8111, 131, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3af58256569969666e5f8a2f9ce35b58d4df95230371", async() => {
                            BeginContext(8201, 37, true);
                            WriteLiteral("<i class=\"fa fa-trash-alt fa-sm\"></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_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 247 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                        WriteLiteral(item.MaritalStatusID);

#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(8242, 42, true);
                        WriteLiteral("\r\n                                        ");
                        EndContext();
                        BeginContext(8284, 136, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3af58256569969666e5f8a2f9ce35b58d4df95233007", async() => {
                            BeginContext(8378, 38, true);
                            WriteLiteral("<i class=\"fa fa-ellipsis-h fa-sm\"></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_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                        {
                            throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                        }
                        BeginWriteTagHelperAttribute();
#line 248 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                        WriteLiteral(item.MaritalStatusID);

#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_9);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(8420, 86, true);
                        WriteLiteral("\r\n                                    </td>\r\n\r\n                                </tr>\r\n");
                        EndContext();
#line 252 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                    }

#line default
#line hidden
#line 252 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(8564, 98, true);
                WriteLiteral("                    </tbody>\r\n                </table>\r\n            </div>\r\n\r\n\r\n\r\n\r\n\r\n            ");
                EndContext();
                BeginContext(8662, 465, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3af58256569969666e5f8a2f9ce35b58d4df95236227", async() => {
                }
                                                                            );
                __sssHMS_TagHelpers_PageLinkTagHelper = CreateTagHelper <global::sssHMS.TagHelpers.PageLinkTagHelper>();
                __tagHelperExecutionContext.Add(__sssHMS_TagHelpers_PageLinkTagHelper);
#line 262 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                __sssHMS_TagHelpers_PageLinkTagHelper.PageModel = Model.PagingInfo;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-model", __sssHMS_TagHelpers_PageLinkTagHelper.PageModel, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageAction = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
#line 263 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                __sssHMS_TagHelpers_PageLinkTagHelper.PageClassesEnabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-classes-enabled", __sssHMS_TagHelpers_PageLinkTagHelper.PageClassesEnabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageClass = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageClassNormal = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageClassSelected = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageLast = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageFirst = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                __sssHMS_TagHelpers_PageLinkTagHelper.PagePrev = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __sssHMS_TagHelpers_PageLinkTagHelper.PageNext = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18);
                __sssHMS_TagHelpers_PageLinkTagHelper.DisabledPage = (string)__tagHelperAttribute_19.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(9127, 32, true);
                WriteLiteral("\r\n\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.Method = (string)__tagHelperAttribute_20.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

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

    <script type=""text/javascript"">
    $(document).ready(function () {

        //for textbox focus select all text in textbox
        $(""input[type='text']"").on(""click"", function () {
            $(this).select();
        });
        //for being active soft button
        var bb = """);
                EndContext();
                BeginContext(9485, 21, false);
#line 283 "D:\AKT_HMS\trunk\sssHMS\sssHMS\Views\MaritalStatus\Index.cshtml"
                Write(ViewBag.sortParamView);

#line default
#line hidden
                EndContext();
                BeginContext(9506, 614, true);
                WriteLiteral(@""";
        if (bb == ""SortDec"") {
            $(""#btnSortDecName"").addClass(""btnSortActive"");
        }

        else {
            $(""#btnSortAscName"").addClass(""btnSortActive"");
        }


        //for table row clicked color changing
            $('#myTable tbody tr').click(function () {
                $(this).toggleClass('rowClickColor');/*.siblings().removeClass('bg-success');*/
                $(this).siblings().removeClass('rowClickColor');
            });

        //for place holder of search box change when dropdown item changed
        





        });
    </script>

");
                EndContext();
            }
                          );
            BeginContext(10123, 10, true);
            WriteLiteral("\r\n\r\n\r\n\r\n\r\n");
            EndContext();
        }