コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(97, 56, true);
            WriteLiteral("\r\n<h3>Osoba-Uredjaj i vreme koriscenja</h3>\r\n\r\n<hr/>\r\n\r\n");
            EndContext();
#line 10 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
            foreach (var ou in Model.OsobaUredjaj)
            {
#line default
#line hidden
                BeginContext(197, 12, true);
                WriteLiteral("    <h5>Ime:");
                EndContext();
                BeginContext(210, 12, false);
#line 12 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
                Write(ou.Osoba.Ime);

#line default
#line hidden
                EndContext();
                BeginContext(222, 14, true);
                WriteLiteral(" <br/>Prezime:");
                EndContext();
                BeginContext(237, 16, false);
#line 12 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
                Write(ou.Osoba.Prezime);

#line default
#line hidden
                EndContext();
                BeginContext(253, 18, true);
                WriteLiteral(" <br/>Kancelarija:");
                EndContext();
                BeginContext(272, 25, false);
#line 12 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
                Write(ou.Osoba.Kancelarija.Opis);

#line default
#line hidden
                EndContext();
                BeginContext(297, 23, true);
                WriteLiteral("</h5>\r\n    <h5>Uredjaj:");
                EndContext();
                BeginContext(321, 16, false);
#line 13 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
                Write(ou.Uredjaj.Naziv);

#line default
#line hidden
                EndContext();
                BeginContext(337, 19, true);
                WriteLiteral(" </h5>\r\n    <h5>Od:");
                EndContext();
                BeginContext(357, 20, false);
#line 14 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
                Write(ou.PocetakKoriscenja);

#line default
#line hidden
                EndContext();
                BeginContext(377, 9, true);
                WriteLiteral(" <br/>Do:");
                EndContext();
                BeginContext(387, 17, false);
#line 14 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
                Write(ou.KrajKoriscenja);

#line default
#line hidden
                EndContext();
                BeginContext(404, 7, true);
                WriteLiteral("</h5>\r\n");
                EndContext();
                BeginContext(416, 56, false);
#line 15 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
                Write(Html.ActionLink("Obrisi ", "ObrisiOU", new { Id = ou.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(479, 61, false);
#line 16 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
                Write(Html.ActionLink(" Izmeni ", "IzmenaInfoOU", new { Id = ou.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(547, 55, false);
#line 17 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
                Write(Html.ActionLink(" Detalji", "OuPoId", new { Id = ou.Id }));

#line default
#line hidden
                EndContext();
#line 17 "C:\VS_project\BoilerplateZadatak\4.0.0\src\BoilerplateZadatak.Web\Views\OsobaUredjaj\Index.cshtml"
            }

#line default
#line hidden
        }
コード例 #2
0
ファイル: Index.g.cshtml.cs プロジェクト: Jicamon/NutriYA
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(38, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(81, 29, true);
            WriteLiteral("\r\n<h2>Index</h2>\r\n\r\n<p>\r\n    ");
            EndContext();
            BeginContext(110, 37, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b6fd37e1e31346679dc8aa59e2608b33", async() => {
                BeginContext(133, 10, true);
                WriteLiteral("Create New");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(147, 92, true);
            WriteLiteral("\r\n</p>\r\n<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(240, 45, false);
#line 16 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.NombreNut));

#line default
#line hidden
            EndContext();
            BeginContext(285, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(341, 45, false);
#line 19 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.NombrePac));

#line default
#line hidden
            EndContext();
            BeginContext(386, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(442, 42, false);
#line 22 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Correo));

#line default
#line hidden
            EndContext();
            BeginContext(484, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(540, 40, false);
#line 25 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Edad));

#line default
#line hidden
            EndContext();
            BeginContext(580, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(636, 42, false);
#line 28 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Altura));

#line default
#line hidden
            EndContext();
            BeginContext(678, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(734, 40, false);
#line 31 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Peso));

#line default
#line hidden
            EndContext();
            BeginContext(774, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(830, 39, false);
#line 34 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
            Write(Html.DisplayNameFor(model => model.IMC));

#line default
#line hidden
            EndContext();
            BeginContext(869, 86, true);
            WriteLiteral("\r\n            </th>\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 40 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(987, 48, true);
                WriteLiteral("        <tr>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1036, 44, false);
#line 43 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.NombreNut));

#line default
#line hidden
                EndContext();
                BeginContext(1080, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1136, 44, false);
#line 46 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.NombrePac));

#line default
#line hidden
                EndContext();
                BeginContext(1180, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1236, 41, false);
#line 49 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Correo));

#line default
#line hidden
                EndContext();
                BeginContext(1277, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1333, 39, false);
#line 52 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Edad));

#line default
#line hidden
                EndContext();
                BeginContext(1372, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1428, 41, false);
#line 55 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Altura));

#line default
#line hidden
                EndContext();
                BeginContext(1469, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1525, 39, false);
#line 58 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Peso));

#line default
#line hidden
                EndContext();
                BeginContext(1564, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1620, 38, false);
#line 61 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.IMC));

#line default
#line hidden
                EndContext();
                BeginContext(1658, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1714, 81, false);
#line 64 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
                Write(Html.ActionLink("Edit", "Edit", new { PK = item.NombreNut, RK = item.NombrePac }));

#line default
#line hidden
                EndContext();
                BeginContext(1795, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(1816, 87, false);
#line 65 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
                Write(Html.ActionLink("Details", "Details", new { PK = item.NombreNut, RK = item.NombrePac }));

#line default
#line hidden
                EndContext();
                BeginContext(1903, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(1924, 85, false);
#line 66 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
                Write(Html.ActionLink("Delete", "Delete", new { PK = item.NombreNut, RK = item.NombrePac }));

#line default
#line hidden
                EndContext();
                BeginContext(2009, 36, true);
                WriteLiteral("\r\n            </td>\r\n        </tr>\r\n");
                EndContext();
#line 69 "/Users/ccdm23/Desktop/NutriYA/Views/Pacientes/Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2048, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
コード例 #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\Project_C#\Web\WebAirport\WebAirport\Views\TypeAirplane\Create.cshtml"

            ViewBag.Title = "Новый тип самолета";

#line default
#line hidden
            BeginContext(99, 13, true);
            WriteLiteral("\r\n<div>\r\n    ");
            EndContext();
            BeginContext(113, 50, false);
#line 7 "D:\Project_C#\Web\WebAirport\WebAirport\Views\TypeAirplane\Create.cshtml"
            Write(Html.ActionLink("Список типов самолетов", "Index"));

#line default
#line hidden
            EndContext();
            BeginContext(163, 77, true);
            WriteLiteral("\r\n</div>\r\n\r\n<h2>Добавление нового типа самолета</h2>\r\n<div class=\"row\">\r\n    ");
            EndContext();
            BeginContext(241, 28, false);
#line 12 "D:\Project_C#\Web\WebAirport\WebAirport\Views\TypeAirplane\Create.cshtml"
            Write(Html.ValidationSummary(true));

#line default
#line hidden
            EndContext();
            BeginContext(269, 38, true);
            WriteLiteral("\r\n    <div class=\"col-md-8\">\r\n        ");
            EndContext();
            BeginContext(307, 1023, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "18da53d97cd64c1b918b22f58bdff79b", async() => {
                BeginContext(327, 168, true);
                WriteLiteral("\r\n            <table class=\"table table-bordered\">\r\n                <tr>\r\n                    <th>Название типа</th>\r\n                    <td>\r\n                        ");
                EndContext();
                BeginContext(496, 39, false);
#line 19 "D:\Project_C#\Web\WebAirport\WebAirport\Views\TypeAirplane\Create.cshtml"
                Write(Html.EditorFor(model => model.NameType));

#line default
#line hidden
                EndContext();
                BeginContext(535, 26, true);
                WriteLiteral("\r\n                        ");
                EndContext();
                BeginContext(562, 50, false);
#line 20 "D:\Project_C#\Web\WebAirport\WebAirport\Views\TypeAirplane\Create.cshtml"
                Write(Html.ValidationMessageFor(model => model.NameType));

#line default
#line hidden
                EndContext();
                BeginContext(612, 165, true);
                WriteLiteral("\r\n                    </td>\r\n                </tr>\r\n                <tr>\r\n                    <th>Назначение</th>\r\n                    <td>\r\n                        ");
                EndContext();
                BeginContext(778, 42, false);
#line 26 "D:\Project_C#\Web\WebAirport\WebAirport\Views\TypeAirplane\Create.cshtml"
                Write(Html.EditorFor(model => model.Appointment));

#line default
#line hidden
                EndContext();
                BeginContext(820, 26, true);
                WriteLiteral("\r\n                        ");
                EndContext();
                BeginContext(847, 53, false);
#line 27 "D:\Project_C#\Web\WebAirport\WebAirport\Views\TypeAirplane\Create.cshtml"
                Write(Html.ValidationMessageFor(model => model.Appointment));

#line default
#line hidden
                EndContext();
                BeginContext(900, 166, true);
                WriteLiteral("\r\n                    </td>\r\n                </tr>\r\n                <tr>\r\n                    <th>Ограничения</th>\r\n                    <td>\r\n                        ");
                EndContext();
                BeginContext(1067, 41, false);
#line 33 "D:\Project_C#\Web\WebAirport\WebAirport\Views\TypeAirplane\Create.cshtml"
                Write(Html.EditorFor(model => model.Limitation));

#line default
#line hidden
                EndContext();
                BeginContext(1108, 26, true);
                WriteLiteral("\r\n                        ");
                EndContext();
                BeginContext(1135, 52, false);
#line 34 "D:\Project_C#\Web\WebAirport\WebAirport\Views\TypeAirplane\Create.cshtml"
                Write(Html.ValidationMessageFor(model => model.Limitation));

#line default
#line hidden
                EndContext();
                BeginContext(1187, 136, true);
                WriteLiteral("\r\n                    </td>\r\n                </tr>\r\n            </table>\r\n            <input type=\"submit\" value=\"Добавить\" />\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_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1330, 24, true);
            WriteLiteral("\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
            DefineSection("scripts", async() => {
                BeginContext(1372, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1378, 75, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "153cd0b5ecc942be93d1cde2bedde263", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1453, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1459, 94, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cd04f92dc3404e5296a23375e57d5fa3", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1553, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
        }
コード例 #4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"

            Layout = "_Layout";

#line default
#line hidden
            BeginContext(29, 1, true);
            WriteLiteral("\n");
            EndContext();
            BeginContext(58, 38, true);
            WriteLiteral("\n<h2>Edit</h2>\n\n<h4>Edit this review: ");
            EndContext();
            BeginContext(97, 43, false);
#line 9 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
            Write(Html.DisplayFor(model => model.Description));

#line default
#line hidden
            EndContext();
            BeginContext(140, 7, true);
            WriteLiteral("</h4>\n\n");
            EndContext();
#line 11 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
            using (Html.BeginForm())
            {
#line default
#line hidden
                BeginContext(182, 39, false);
#line 15 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
                Write(Html.HiddenFor(model => model.ReviewId));

#line default
#line hidden
                EndContext();
                BeginContext(228, 35, false);
#line 17 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
                Write(Html.LabelFor(model => model.Place));

#line default
#line hidden
                EndContext();
                BeginContext(269, 28, false);
#line 18 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
                Write(Html.DropDownList("PlaceId"));

#line default
#line hidden
                EndContext();
                BeginContext(299, 42, true);
                WriteLiteral("    <h4>Review Description</h4>\n    <hr/>\n");
                EndContext();
                BeginContext(346, 41, false);
#line 22 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
                Write(Html.LabelFor(model => model.Description));

#line default
#line hidden
                EndContext();
                BeginContext(393, 42, false);
#line 23 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
                Write(Html.EditorFor(model => model.Description));

#line default
#line hidden
                EndContext();
                BeginContext(436, 50, true);
                WriteLiteral("    <br/>\n    <h4>Rate from 1 - 5 </h4>\n    <hr/>\n");
                EndContext();
                BeginContext(491, 36, false);
#line 27 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
                Write(Html.LabelFor(model => model.Rating));

#line default
#line hidden
                EndContext();
                BeginContext(533, 37, false);
#line 28 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
                Write(Html.EditorFor(model => model.Rating));

#line default
#line hidden
                EndContext();
                BeginContext(578, 41, true);
                WriteLiteral("    <input type=\"submit\" value=\"Save\" />\n");
                EndContext();
#line 33 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
            }

#line default
#line hidden
            BeginContext(621, 4, true);
            WriteLiteral("\n<p>");
            EndContext();
            BeginContext(626, 43, false);
#line 35 "/Users/Guest/Desktop/Travel.Solution/Travel/Views/Reviews/Edit.cshtml"
            Write(Html.ActionLink("Back to Reviews", "Index"));

#line default
#line hidden
            EndContext();
            BeginContext(669, 4, true);
            WriteLiteral("</p>");
            EndContext();
        }
コード例 #5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"

            Layout = "_Layout";

#line default
#line hidden
            BeginContext(29, 1, true);
            WriteLiteral("\n");
            EndContext();
            BeginContext(59, 17, true);
            WriteLiteral("\n<h1>Animals<h1>\n");
            EndContext();
#line 8 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"
            if (Model.Count == 0)
            {
#line default
#line hidden
                BeginContext(101, 45, true);
                WriteLiteral("    <h3>No animals have been added yet!</h3>\n");
                EndContext();
#line 11 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"
            }

#line default
#line hidden
            BeginContext(148, 1, true);
            WriteLiteral("\n");
            EndContext();
#line 13 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"
            foreach (Animal animal in Model)
            {
#line default
#line hidden
                BeginContext(185, 13, true);
                WriteLiteral("    <!-- <li>");
                EndContext();
                BeginContext(199, 12, false);
#line 15 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"
                Write(animal.Breed);

#line default
#line hidden
                EndContext();
                BeginContext(211, 15, true);
                WriteLiteral(" </li>\n    <li>");
                EndContext();
                BeginContext(227, 11, false);
#line 16 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"
                Write(animal.Name);

#line default
#line hidden
                EndContext();
                BeginContext(238, 14, true);
                WriteLiteral("</li>\n    <li>");
                EndContext();
                BeginContext(253, 13, false);
#line 17 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"
                Write(animal.Gender);

#line default
#line hidden
                EndContext();
                BeginContext(266, 14, true);
                WriteLiteral("</li>\n    <li>");
                EndContext();
                BeginContext(281, 11, false);
#line 18 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"
                Write(animal.Date);

#line default
#line hidden
                EndContext();
                BeginContext(292, 18, true);
                WriteLiteral("</li> -->\n    <li>");
                EndContext();
                BeginContext(311, 70, false);
#line 19 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"
                Write(Html.ActionLink($"{animal.Breed }", "Details", new { id = animal.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(381, 6, true);
                WriteLiteral("</li>\n");
                EndContext();
#line 20 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"
            }

#line default
#line hidden
            BeginContext(389, 4, true);
            WriteLiteral("\n<p>");
            EndContext();
            BeginContext(394, 43, false);
#line 22 "/Users/Guest/Desktop/Animal-Shelter-Solution/AnimalShelter/Views/Animals/Index.cshtml"
            Write(Html.ActionLink("Add new animal", "Create"));

#line default
#line hidden
            EndContext();
            BeginContext(437, 4, true);
            WriteLiteral("</p>");
            EndContext();
        }
コード例 #6
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(42, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(85, 40, true);
            WriteLiteral("\r\n<h2><b>Doctors</b></h2>\r\n\r\n<p>\r\n\r\n    ");
            EndContext();
            BeginContext(126, 96, false);
#line 11 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
            Write(Html.ActionLink("+Add New Doctor", "Create", "Doctors", null, new { @class = "btn btn-danger" }));

#line default
#line hidden
            EndContext();
            BeginContext(222, 12, true);
            WriteLiteral("\r\n\r\n</p>\r\n\r\n");
            EndContext();
            BeginContext(292, 124, true);
            WriteLiteral("<table id=\"doctors\" class=\"table table-bordered table-hover\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(417, 40, false);
#line 22 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.User));

#line default
#line hidden
            EndContext();
            BeginContext(457, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(513, 54, false);
#line 25 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.RegistrationNumber));

#line default
#line hidden
            EndContext();
            BeginContext(567, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(623, 50, false);
#line 28 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Specialization));

#line default
#line hidden
            EndContext();
            BeginContext(673, 57, true);
            WriteLiteral("\r\n            </th>\r\n\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(731, 44, false);
#line 32 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Hospital));

#line default
#line hidden
            EndContext();
            BeginContext(775, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(831, 41, false);
#line 35 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Phone));

#line default
#line hidden
            EndContext();
            BeginContext(872, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(928, 41, false);
#line 38 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Notes));

#line default
#line hidden
            EndContext();
            BeginContext(969, 88, true);
            WriteLiteral("\r\n            </th>\r\n\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 45 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(1106, 48, true);
                WriteLiteral("        <tr>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1155, 45, false);
#line 49 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.User.Email));

#line default
#line hidden
                EndContext();
                BeginContext(1200, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1256, 53, false);
#line 52 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.RegistrationNumber));

#line default
#line hidden
                EndContext();
                BeginContext(1309, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1365, 49, false);
#line 55 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Specialization));

#line default
#line hidden
                EndContext();
                BeginContext(1414, 57, true);
                WriteLiteral("\r\n            </td>\r\n\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1472, 43, false);
#line 59 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Hospital));

#line default
#line hidden
                EndContext();
                BeginContext(1515, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1571, 40, false);
#line 62 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Phone));

#line default
#line hidden
                EndContext();
                BeginContext(1611, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1667, 40, false);
#line 65 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Notes));

#line default
#line hidden
                EndContext();
                BeginContext(1707, 57, true);
                WriteLiteral("\r\n            </td>\r\n\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1764, 53, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b94751f7f78843eaaa0a1db451396384", async() => {
                    BeginContext(1809, 4, true);
                    WriteLiteral("Edit");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 69 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
                WriteLiteral(item.Id);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1817, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(1837, 59, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fce7d0f5efaf467984583f3a1bae5081", async() => {
                    BeginContext(1885, 7, true);
                    WriteLiteral("Details");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 70 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
                WriteLiteral(item.Id);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1896, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(1916, 57, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8ab1945586eb4fbf8981af5f3b4cc344", async() => {
                    BeginContext(1963, 6, true);
                    WriteLiteral("Delete");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 71 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
                WriteLiteral(item.Id);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1973, 36, true);
                WriteLiteral("\r\n            </td>\r\n        </tr>\r\n");
                EndContext();
#line 74 "D:\project original\Z  Finale Medecs\Medecs\WebApp\Medecs\Medcs\Views\Doctors\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2020, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
コード例 #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "C:\Users\Operador\Desktop\LI4\cookboard\cookboard\Views\Utilizador\getHistorico.cshtml"

            ViewBag.Title = "getHistorico";
            string currentType = (string)@ViewData["Type"];

            switch (currentType)
            {
            case "Professor":
                Layout = "~/Views/Shared/_LayoutProfessor.cshtml";
                break;

            case "Aluno":
                Layout = "~/Views/Shared/_LayoutAluno.cshtml";
                break;
            }

#line default
#line hidden
            BeginContext(399, 203, true);
            WriteLiteral("<div style=\"margin-left: 24px; font-weight: 900; font-size: 30px; padding-bottom: 20px;\">Histórico Receitas</div>\r\n\r\n<table class=\"table\" style=\"margin-left: 24px;\">\r\n    <tr>\r\n        <th>\r\n            ");
            EndContext();
            BeginContext(603, 40, false);
#line 21 "C:\Users\Operador\Desktop\LI4\cookboard\cookboard\Views\Utilizador\getHistorico.cshtml"
            Write(Html.DisplayNameFor(model => model.Nome));

#line default
#line hidden
            EndContext();
            BeginContext(643, 43, true);
            WriteLiteral("\r\n        </th>\r\n        <th>\r\n            ");
            EndContext();
            BeginContext(687, 47, false);
#line 24 "C:\Users\Operador\Desktop\LI4\cookboard\cookboard\Views\Utilizador\getHistorico.cshtml"
            Write(Html.DisplayNameFor(model => model.Dificuldade));

#line default
#line hidden
            EndContext();
            BeginContext(734, 43, true);
            WriteLiteral("\r\n        </th>\r\n        <th>\r\n            ");
            EndContext();
            BeginContext(778, 49, false);
#line 27 "C:\Users\Operador\Desktop\LI4\cookboard\cookboard\Views\Utilizador\getHistorico.cshtml"
            Write(Html.DisplayNameFor(model => model.TempoConfecao));

#line default
#line hidden
            EndContext();
            BeginContext(827, 47, true);
            WriteLiteral("\r\n        </th>\r\n        <th></th>\r\n    </tr>\r\n");
            EndContext();
#line 31 "C:\Users\Operador\Desktop\LI4\cookboard\cookboard\Views\Utilizador\getHistorico.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(915, 48, true);
                WriteLiteral("        <tr>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(964, 39, false);
#line 35 "C:\Users\Operador\Desktop\LI4\cookboard\cookboard\Views\Utilizador\getHistorico.cshtml"
                Write(Html.DisplayFor(modelItem => item.Nome));

#line default
#line hidden
                EndContext();
                BeginContext(1003, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1059, 46, false);
#line 38 "C:\Users\Operador\Desktop\LI4\cookboard\cookboard\Views\Utilizador\getHistorico.cshtml"
                Write(Html.DisplayFor(modelItem => item.Dificuldade));

#line default
#line hidden
                EndContext();
                BeginContext(1105, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1161, 48, false);
#line 41 "C:\Users\Operador\Desktop\LI4\cookboard\cookboard\Views\Utilizador\getHistorico.cshtml"
                Write(Html.DisplayFor(modelItem => item.TempoConfecao));

#line default
#line hidden
                EndContext();
                BeginContext(1209, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1265, 82, false);
#line 44 "C:\Users\Operador\Desktop\LI4\cookboard\cookboard\Views\Utilizador\getHistorico.cshtml"
                Write(Html.ActionLink("Consultar", "getReceita", "Receitas", new { idReceita = item.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(1347, 36, true);
                WriteLiteral("\r\n            </td>\r\n        </tr>\r\n");
                EndContext();
#line 47 "C:\Users\Operador\Desktop\LI4\cookboard\cookboard\Views\Utilizador\getHistorico.cshtml"
            }

#line default
#line hidden
            BeginContext(1390, 10, true);
            WriteLiteral("</table>\r\n");
            EndContext();
        }
コード例 #8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(45, 43, true);
            WriteLiteral("\n<h2 class=\"text-center\">Restaurante</h2>\n\n");
            EndContext();
#line 5 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
            using (Html.BeginForm())
            {
#line default
#line hidden
                BeginContext(121, 28, false);
#line 7 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.ValidationSummary(true));

#line default
#line hidden
                EndContext();
                BeginContext(160, 33, false);
#line 9 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.HiddenFor(model => model.id));

#line default
#line hidden
                EndContext();
                BeginContext(195, 198, true);
                WriteLiteral("        <div class=\"form-group col-12 col-sm-8 col-md-6 mx-auto\">\n            <div class=\"editor-label\">\n                id\n            </div>\n            <div class=\"editor-field\">\n                ");
                EndContext();
                BeginContext(394, 90, false);
#line 16 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.EditorFor(model => model.id, new { htmlAttributes = new { @class = "form-control" } }));

#line default
#line hidden
                EndContext();
                BeginContext(484, 53, true);
                WriteLiteral("\n                <small class=\"form-text text-muted\">");
                EndContext();
                BeginContext(538, 44, false);
#line 17 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.ValidationMessageFor(model => model.id));

#line default
#line hidden
                EndContext();
                BeginContext(582, 43, true);
                WriteLiteral("</small>\n            </div>\n        </div>\n");
                EndContext();
                BeginContext(626, 212, true);
                WriteLiteral("        <div class=\"form-group col-12 col-sm-8 col-md-6 mx-auto\">\n            <div class=\"editor-label\">\n                Nome Restaurante\n            </div>\n            <div class=\"editor-field\">\n                ");
                EndContext();
                BeginContext(839, 92, false);
#line 26 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.EditorFor(model => model.nome, new { htmlAttributes = new { @class = "form-control" } }));

#line default
#line hidden
                EndContext();
                BeginContext(931, 53, true);
                WriteLiteral("\n                <small class=\"form-text text-muted\">");
                EndContext();
                BeginContext(985, 46, false);
#line 27 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.ValidationMessageFor(model => model.nome));

#line default
#line hidden
                EndContext();
                BeginContext(1031, 43, true);
                WriteLiteral("</small>\n            </div>\n        </div>\n");
                EndContext();
                BeginContext(1075, 204, true);
                WriteLiteral("        <div class=\"form-group col-12 col-sm-8 col-md-6 mx-auto\">\n            <div class=\"editor-label\">\n                Endereço\n            </div>\n            <div class=\"editor-field\">\n                ");
                EndContext();
                BeginContext(1280, 96, false);
#line 36 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.EditorFor(model => model.endereco, new { htmlAttributes = new { @class = "form-control" } }));

#line default
#line hidden
                EndContext();
                BeginContext(1376, 53, true);
                WriteLiteral("\n                <small class=\"form-text text-muted\">");
                EndContext();
                BeginContext(1430, 50, false);
#line 37 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.ValidationMessageFor(model => model.endereco));

#line default
#line hidden
                EndContext();
                BeginContext(1480, 43, true);
                WriteLiteral("</small>\n            </div>\n        </div>\n");
                EndContext();
                BeginContext(1524, 202, true);
                WriteLiteral("        <div class=\"form-group col-12 col-sm-8 col-md-6 mx-auto\">\n            <div class=\"editor-label\">\n                Estado\n            </div>\n            <div class=\"editor-field\">\n                ");
                EndContext();
                BeginContext(1727, 94, false);
#line 46 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.EditorFor(model => model.estado, new { htmlAttributes = new { @class = "form-control" } }));

#line default
#line hidden
                EndContext();
                BeginContext(1821, 53, true);
                WriteLiteral("\n                <small class=\"form-text text-muted\">");
                EndContext();
                BeginContext(1875, 48, false);
#line 47 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.ValidationMessageFor(model => model.estado));

#line default
#line hidden
                EndContext();
                BeginContext(1923, 43, true);
                WriteLiteral("</small>\n            </div>\n        </div>\n");
                EndContext();
                BeginContext(1967, 202, true);
                WriteLiteral("        <div class=\"form-group col-12 col-sm-8 col-md-6 mx-auto\">\n            <div class=\"editor-label\">\n                Cidade\n            </div>\n            <div class=\"editor-field\">\n                ");
                EndContext();
                BeginContext(2170, 94, false);
#line 56 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.EditorFor(model => model.cidade, new { htmlAttributes = new { @class = "form-control" } }));

#line default
#line hidden
                EndContext();
                BeginContext(2264, 53, true);
                WriteLiteral("\n                <small class=\"form-text text-muted\">");
                EndContext();
                BeginContext(2318, 48, false);
#line 57 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.ValidationMessageFor(model => model.cidade));

#line default
#line hidden
                EndContext();
                BeginContext(2366, 43, true);
                WriteLiteral("</small>\n            </div>\n        </div>\n");
                EndContext();
                BeginContext(2410, 153, true);
                WriteLiteral("        <div class=\"d-block text-center\">\n            <button type=\"submit\" class=\"btn btn-primary d-block my-4 mx-auto\">Atualizar</button>\n\n            ");
                EndContext();
                BeginContext(2564, 93, false);
#line 64 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
                Write(Html.ActionLink("Voltar para listagem", "Index", null, null, new { @class = "mt-2 d-block" }));

#line default
#line hidden
                EndContext();
                BeginContext(2657, 16, true);
                WriteLiteral("\n        </div>\n");
                EndContext();
#line 66 "/Users/aldrinjr/ulbra/lpComercial/Aula17-ProjetoContaDeLuz-Test/Proj.Web/Views/Restaurante/Update.cshtml"
            }

#line default
#line hidden
        }
コード例 #9
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(36, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "D:\ASP.NET\RentCar\RentCar\Areas\Proprietaire\Views\Profile\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(79, 86, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "11ed707b71e14636b27ab1b1083228fe", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
            {
                throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
            }
            BeginWriteTagHelperAttribute();
#line 6 "D:\ASP.NET\RentCar\RentCar\Areas\Proprietaire\Views\Profile\Index.cshtml"
            WriteLiteral(Model.Id);

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

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(165, 211, true);
            WriteLiteral("Liste des voitures </a>\r\n<h2 class=\"text text-info text-capitalize text-muted\">Profile</h2>\r\n\r\n<hr />\r\n<div class=\" row table-bordered \" style=\"padding:15px 15px 15px 15px\">\r\n    <div class=\"col-md-8\">\r\n        ");
            EndContext();
            BeginContext(376, 1205, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c46a3a7be9a84c4d9124415ca4809f10", async() => {
                BeginContext(401, 104, true);
                WriteLiteral("\r\n            <div class=\"form-group row\">\r\n                <div class=\"col-md-4\">\r\n                    ");
                EndContext();
                BeginContext(505, 50, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dc38faa3b578482ab9e8944be90959fb", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 15 "D:\ASP.NET\RentCar\RentCar\Areas\Proprietaire\Views\Profile\Index.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Id);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(555, 86, true);
                WriteLiteral("\r\n                </div>\r\n                <div class=\"col-md-8\">\r\n                    ");
                EndContext();
                BeginContext(641, 52, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e860b723a2804b69b950175ca40310b3", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 18 "D:\ASP.NET\RentCar\RentCar\Areas\Proprietaire\Views\Profile\Index.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Id);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("readonly", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(693, 150, true);
                WriteLiteral("\r\n                </div>\r\n\r\n            </div>\r\n            <div class=\"form-group row\">\r\n                <div class=\"col-md-4\">\r\n                    ");
                EndContext();
                BeginContext(843, 52, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "44b2caf0ac8947579236821b941cd54e", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 24 "D:\ASP.NET\RentCar\RentCar\Areas\Proprietaire\Views\Profile\Index.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Name);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(895, 86, true);
                WriteLiteral("\r\n                </div>\r\n                <div class=\"col-md-8\">\r\n                    ");
                EndContext();
                BeginContext(981, 54, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b0c32c001e6b4dcc88d78896e323c9ec", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 27 "D:\ASP.NET\RentCar\RentCar\Areas\Proprietaire\Views\Profile\Index.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Name);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("readonly", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1035, 150, true);
                WriteLiteral("\r\n                </div>\r\n\r\n            </div>\r\n            <div class=\"form-group row\">\r\n                <div class=\"col-md-4\">\r\n                    ");
                EndContext();
                BeginContext(1185, 55, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "11af0b0c3f51406f9bf19a5dbf086c8f", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 33 "D:\ASP.NET\RentCar\RentCar\Areas\Proprietaire\Views\Profile\Index.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.adresse);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1240, 86, true);
                WriteLiteral("\r\n                </div>\r\n                <div class=\"col-md-8\">\r\n                    ");
                EndContext();
                BeginContext(1326, 57, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0c7f762b952d4e88b7757524ac9eda16", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 36 "D:\ASP.NET\RentCar\RentCar\Areas\Proprietaire\Views\Profile\Index.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.adresse);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("readonly", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1383, 102, true);
                WriteLiteral("\r\n                </div>\r\n            </div>\r\n            <div class=\"form-group\">\r\n\r\n                ");
                EndContext();
                BeginContext(1486, 56, false);
#line 41 "D:\ASP.NET\RentCar\RentCar\Areas\Proprietaire\Views\Profile\Index.cshtml"
                Write(Html.ActionLink("Change", "Edit", new { id = Model.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(1542, 32, true);
                WriteLiteral("\r\n\r\n            </div>\r\n        ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_4.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1581, 30, true);
            WriteLiteral("\r\n    </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n");
            EndContext();
        }
コード例 #10
0
        public override void Execute()
        {
            #line 3 "..\..\Views\ActionArgs\Edit.cshtml"

            ViewBag.Title = "Edit Action Args";


            #line default
            #line hidden
            WriteLiteral("\r\n");

            WriteLiteral("<div");

            WriteLiteral(" class=\"row\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"col-lg-12\"");

            WriteLiteral(">\r\n        <h1");

            WriteLiteral(" class=\"page-title\"");

            WriteLiteral(">\r\n            <i");

            WriteLiteral(" class=\"glyphicon glyphicon-edit text-primary\"");

            WriteLiteral("></i> Action Args  <i");

            WriteLiteral(" class=\"glyphicon glyphicon-chevron-right small\"");

            WriteLiteral("></i> <span>Edit</span>\r\n        </h1>\r\n        <h2");

            WriteLiteral(" class=\"text-primary\"");

            WriteLiteral(">");


            #line 20 "..\..\Views\ActionArgs\Edit.cshtml"
            Write(Html.DisplayFor(model => model.DisplayValue));


            #line default
            #line hidden
            WriteLiteral("</h2>\r\n    </div>\r\n    <!-- /.col-lg-12 -->\r\n</div>\r\n<div");

            WriteLiteral(" class=\"tabbable responsive\"");

            WriteLiteral(">\r\n    <ul");

            WriteLiteral(" class=\"nav nav-tabs\"");

            WriteLiteral(">\r\n        <li");

            WriteLiteral(" class=\"active\"");

            WriteLiteral("><a");

            WriteLiteral(" href=\"#Details\"");

            WriteLiteral(" data-toggle=\"tab\"");

            WriteLiteral(">Details</a></li>\r\n    </ul>\r\n    <div");

            WriteLiteral(" class=\"tab-content\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"tab-pane fade in active\"");

            WriteLiteral(" id=\"Details\"");

            WriteLiteral(">\r\n");


            #line 30 "..\..\Views\ActionArgs\Edit.cshtml"


            #line default
            #line hidden

            #line 30 "..\..\Views\ActionArgs\Edit.cshtml"
            using (Html.BeginForm("Edit", "ActionArgs", new { UrlReferrer = Convert.ToString(ViewData["ActionArgsParentUrl"]) }, FormMethod.Post, new { enctype = "multipart/form-data" }))
            {
            #line default
            #line hidden

            #line 32 "..\..\Views\ActionArgs\Edit.cshtml"
                Write(Html.ValidationSummary(true));


            #line default
            #line hidden

            #line 32 "..\..\Views\ActionArgs\Edit.cshtml"



            #line default
            #line hidden

            #line 33 "..\..\Views\ActionArgs\Edit.cshtml"
                Write(Html.HiddenFor(model => model.Id));


            #line default
            #line hidden

            #line 33 "..\..\Views\ActionArgs\Edit.cshtml"



            #line default
            #line hidden
                WriteLiteral("                <div");

                WriteLiteral(" class=\"col-md-12 col-sm-12 col-xs-12\"");

                WriteLiteral(" style=\"padding:0px; margin:0px;\"");

                WriteLiteral(">\r\n                    <div");

                WriteLiteral(" class=\"panel panel-default AppForm\"");

                WriteLiteral(">\r\n                        <div");

                WriteLiteral(" class=\"panel-body\"");

                WriteLiteral(">\r\n                            <div");

                WriteLiteral(" class=\"row\"");

                WriteLiteral(">\r\n");


            #line 38 "..\..\Views\ActionArgs\Edit.cshtml"


            #line default
            #line hidden

            #line 38 "..\..\Views\ActionArgs\Edit.cshtml"
                if (User.CanView("ActionArgs", "ParameterName"))
                {
            #line default
            #line hidden
                    WriteLiteral("                                    <div");

                    WriteLiteral(" class=\'col-sm-6 col-md-6 col-xs-12\'");

                    WriteLiteral(">\r\n                                        <div");

                    WriteLiteral(" class=\'form-group\'");

                    WriteLiteral(">\r\n                                            <label");

                    WriteLiteral(" class=\"col-sm-5 col-md-5 col-xs-12\"");

                    WriteLiteral(">");


            #line 42 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.LabelFor(model => model.ParameterName));


            #line default
            #line hidden
                    WriteLiteral(" <span");

                    WriteLiteral(" class=\"text-danger-reg\"");

                    WriteLiteral(">*</span> </label>\r\n                                            <div");

                    WriteLiteral(" class=\"input-group col-sm-7 col-md-7 col-xs-12\"");

                    WriteLiteral(">\r\n");

                    WriteLiteral("                                                ");


            #line 44 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.TextBoxFor(model => model.ParameterName, getHtmlAttributes("ParameterName")));


            #line default
            #line hidden
                    WriteLiteral("\r\n");

                    WriteLiteral("                                                ");


            #line 45 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.ValidationMessageFor(model => model.ParameterName));


            #line default
            #line hidden
                    WriteLiteral("\r\n                                            </div>\r\n                           " +
                                 "             </div>\r\n                                    </div>\r\n");


            #line 49 "..\..\Views\ActionArgs\Edit.cshtml"
                }
                else
                {
            #line default
            #line hidden

            #line 51 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.HiddenFor(model => model.ParameterName, new { @class = "form-control" }));


            #line default
            #line hidden

            #line 51 "..\..\Views\ActionArgs\Edit.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                                ");


            #line 52 "..\..\Views\ActionArgs\Edit.cshtml"
                if (User.CanView("ActionArgs", "ParameterValue"))
                {
            #line default
            #line hidden
                    WriteLiteral("                                    <div");

                    WriteLiteral(" class=\'col-sm-6 col-md-6 col-xs-12\'");

                    WriteLiteral(">\r\n                                        <div");

                    WriteLiteral(" class=\'form-group\'");

                    WriteLiteral(">\r\n                                            <label");

                    WriteLiteral(" class=\"col-sm-5 col-md-5 col-xs-12\"");

                    WriteLiteral(">");


            #line 56 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.LabelFor(model => model.ParameterValue));


            #line default
            #line hidden
                    WriteLiteral(" <span");

                    WriteLiteral(" class=\"text-danger-reg\"");

                    WriteLiteral(">*</span> </label>\r\n                                            <div");

                    WriteLiteral(" class=\"input-group col-sm-7 col-md-7 col-xs-12\"");

                    WriteLiteral(">\r\n");

                    WriteLiteral("                                                ");


            #line 58 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.TextBoxFor(model => model.ParameterValue, getHtmlAttributes("ParameterValue")));


            #line default
            #line hidden
                    WriteLiteral("\r\n");

                    WriteLiteral("                                                ");


            #line 59 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.ValidationMessageFor(model => model.ParameterValue));


            #line default
            #line hidden
                    WriteLiteral("\r\n                                            </div>\r\n                           " +
                                 "             </div>\r\n                                    </div>\r\n");


            #line 63 "..\..\Views\ActionArgs\Edit.cshtml"
                }
                else
                {
            #line default
            #line hidden

            #line 65 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.HiddenFor(model => model.ParameterValue, new { @class = "form-control" }));


            #line default
            #line hidden

            #line 65 "..\..\Views\ActionArgs\Edit.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                                ");


            #line 66 "..\..\Views\ActionArgs\Edit.cshtml"
                if (User.CanView("ActionArgs", "ActionArgumentsID"))
                {
            #line default
            #line hidden
                    WriteLiteral("                                    <div");

                    WriteLiteral(" class=\'col-sm-6 col-md-6 col-xs-12\'");

                    WriteLiteral(">\r\n                                        <div");

                    WriteLiteral(" class=\'form-group\'");

                    WriteLiteral(">\r\n                                            <label");

                    WriteLiteral(" class=\"col-sm-5 col-md-5 col-xs-12\"");

                    WriteLiteral(">");


            #line 70 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.LabelFor(model => model.ActionArgumentsID));


            #line default
            #line hidden
                    WriteLiteral(" </label>\r\n                                            <div");

                    WriteLiteral(" class=\"input-group col-sm-7 col-md-7 col-xs-12\"");

                    WriteLiteral(">\r\n                                                <div");

                    WriteLiteral(" class=\"input-group\"");

                    WriteLiteral(">\r\n");

                    WriteLiteral("                                                    ");


            #line 73 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.DropDownList("ActionArgumentsID", null, "-- Select --", new { @class = "chosen-select form-control", @HostingName = "RuleAction", @dataurl = Url.Action("GetAllValue", "RuleAction", null) }));


            #line default
            #line hidden
                    WriteLiteral("\r\n                                                    ");

                    WriteLiteral("\r\n");

                    WriteLiteral("                                                    ");


            #line 75 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.ValidationMessageFor(model => model.ActionArgumentsID));


            #line default
            #line hidden
                    WriteLiteral("\r\n");


            #line 76 "..\..\Views\ActionArgs\Edit.cshtml"


            #line default
            #line hidden

            #line 76 "..\..\Views\ActionArgs\Edit.cshtml"
                    if (User.CanAdd("RuleAction"))
                    {
            #line default
            #line hidden
                        WriteLiteral("                                                        <div");

                        WriteLiteral(" class=\"input-group-btn\"");

                        WriteLiteral(">\r\n                                                            <a");

                        WriteLiteral(" class=\"btn btn-default btn ie8fix\"");

                        WriteAttribute("href", Tuple.Create(" href=\"", 5331), Tuple.Create("\"", 5539)

            #line 79 "..\..\Views\ActionArgs\Edit.cshtml"
                                       , Tuple.Create(Tuple.Create("", 5338), Tuple.Create <System.Object, System.Int32>(Url.Action("Create", "RuleAction", new { UrlReferrer = Request.Url, HostingEntityName = @Convert.ToString(ViewData["HostingEntity"]), HostingEntityID = @Convert.ToString(ViewData["HostingEntityID"]) })

            #line default
            #line hidden
                                                                                                                         , 5338), false)
                                       );

                        WriteLiteral(">\r\n                                                                <span");

                        WriteLiteral(" class=\"glyphicon glyphicon-plus-sign\"");

                        WriteLiteral("></span>\r\n                                                            </a>\r\n     " +
                                     "                                                   </div>\r\n");


            #line 83 "..\..\Views\ActionArgs\Edit.cshtml"
                    }


            #line default
            #line hidden
                    WriteLiteral("                                                </div>\r\n                         " +
                                 "                   </div>\r\n                                        </div>\r\n     " +
                                 "                               </div>\r\n");


            #line 88 "..\..\Views\ActionArgs\Edit.cshtml"
                }
                else
                {
            #line default
            #line hidden

            #line 90 "..\..\Views\ActionArgs\Edit.cshtml"
                    Write(Html.HiddenFor(model => model.ActionArgumentsID, new { @class = "form-control" }));


            #line default
            #line hidden

            #line 90 "..\..\Views\ActionArgs\Edit.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                            </div>\r\n                        </div>\r\n             " +
                             "       </div>\r\n                </div>\r\n");


            #line 95 "..\..\Views\ActionArgs\Edit.cshtml"


            #line default
            #line hidden

            #line 95 "..\..\Views\ActionArgs\Edit.cshtml"
                Write(Html.AntiForgeryToken());


            #line default
            #line hidden

            #line 95 "..\..\Views\ActionArgs\Edit.cshtml"



            #line default
            #line hidden

            #line 96 "..\..\Views\ActionArgs\Edit.cshtml"
                Write(Html.ActionLink("Cancel", "Cancel", new { UrlReferrer = ViewData["ActionArgsParentUrl"] }, new { @onclick = "", @class = "btn btn-default btn-sm" }));


            #line default
            #line hidden

            #line 96 "..\..\Views\ActionArgs\Edit.cshtml"



            #line default
            #line hidden
                WriteLiteral("                <input");

                WriteLiteral(" type=\"submit\"");

                WriteLiteral(" value=\"Save\"");

                WriteLiteral(" class=\"btn btn-primary btn-sm\"");

                WriteLiteral(" />\r\n");


            #line 98 "..\..\Views\ActionArgs\Edit.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("        </div>\r\n    </div> <!-- /tab-content --><br />\r\n</div>\r\n");
        }
コード例 #11
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(63, 128, true);
            WriteLiteral("\n<div class=\"row\">\n    <div class=\"col-lg-12\">\r\n        <h4>Manage Attendees</h4>\r\n        <div class=\"text-left\">\r\n            ");
            EndContext();
            BeginContext(192, 65, false);
#line 8 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            Write(Html.ValidationSummary(false, "", new { @class = "text-danger" }));

#line default
#line hidden
            EndContext();
            BeginContext(257, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 9 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            if (Model.NumberImportedAttendees != null)
            {
#line default
#line hidden
                BeginContext(331, 28, true);
                WriteLiteral("                <p>Imported ");
                EndContext();
                BeginContext(360, 35, false);
#line 11 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Model.NumberImportedAttendees.Value);

#line default
#line hidden
                EndContext();
                BeginContext(395, 16, true);
                WriteLiteral(" attendees</p>\r\n");
                EndContext();
#line 12 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(426, 24, true);
            WriteLiteral("        </div>\r\n        ");
            EndContext();
            BeginContext(450, 94, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "40e5c17282f43234a299edf9ff67c79b3c7ee8c87353", async() => {
                BeginContext(533, 7, true);
                WriteLiteral("Add New");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (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(544, 435, true);
            WriteLiteral(@"
        <a class=""btn btn-secondary floatLeft"" href=""javascript:showImport();"">Import</a>
        <!-- <form asp-action=""Export"" asp-controller=""Attendee"" method=""post"" enctype=""multipart/form-data"">
         <div>
             <input type=""submit"" value=""Export"" />
         </div>
        </form>-->
        <br />
        <div id=""importAttendees"">
            <hr />
            <div class=""text-left"">
                ");
            EndContext();
            BeginContext(979, 457, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "40e5c17282f43234a299edf9ff67c79b3c7ee8c89467", async() => {
                BeginContext(1075, 354, true);
                WriteLiteral(@"
                    <label for=""attendeeFile"">Upload Attendees (csv):</label>
                    <input type=""file"" accept="".csv"" id=""attendeeFile"" name=""attendeeFile"" />
                    <div class=""form-group"">
                        <input type=""submit"" value=""Submit"" class=""btn btn-primary"" />
                    </div>
                ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_3.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_4.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1436, 177, true);
            WriteLiteral("\r\n\r\n            </div>\r\n            <hr />\r\n        </div>\r\n        <br />\r\n        <div>\r\n            <table class=\"table\">\r\n                <thead>\r\n                    <tr>\r\n");
            EndContext();
#line 41 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            Attendee attendeeDummy = null;                /* workaround for viewmodels with internal lists */

#line default
#line hidden
            BeginContext(1726, 58, true);
            WriteLiteral("                        <th>\r\n                            ");
            EndContext();
            BeginContext(1785, 46, false);
#line 43 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            Write(Html.DisplayNameFor(model => attendeeDummy.Id));

#line default
#line hidden
            EndContext();
            BeginContext(1831, 91, true);
            WriteLiteral("\r\n                        </th>\r\n                        <th>\r\n                            ");
            EndContext();
            BeginContext(1923, 53, false);
#line 46 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            Write(Html.DisplayNameFor(model => attendeeDummy.FirstName));

#line default
#line hidden
            EndContext();
            BeginContext(1976, 91, true);
            WriteLiteral("\r\n                        </th>\r\n                        <th>\r\n                            ");
            EndContext();
            BeginContext(2068, 52, false);
#line 49 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            Write(Html.DisplayNameFor(model => attendeeDummy.LastName));

#line default
#line hidden
            EndContext();
            BeginContext(2120, 91, true);
            WriteLiteral("\r\n                        </th>\r\n                        <th>\r\n                            ");
            EndContext();
            BeginContext(2212, 49, false);
#line 52 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            Write(Html.DisplayNameFor(model => attendeeDummy.Email));

#line default
#line hidden
            EndContext();
            BeginContext(2261, 91, true);
            WriteLiteral("\r\n                        </th>\r\n                        <th>\r\n                            ");
            EndContext();
            BeginContext(2353, 55, false);
#line 55 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            Write(Html.DisplayNameFor(model => attendeeDummy.MobilePhone));

#line default
#line hidden
            EndContext();
            BeginContext(2408, 91, true);
            WriteLiteral("\r\n                        </th>\r\n                        <th>\r\n                            ");
            EndContext();
            BeginContext(2500, 52, false);
#line 58 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            Write(Html.DisplayNameFor(model => attendeeDummy.JobTitle));

#line default
#line hidden
            EndContext();
            BeginContext(2552, 91, true);
            WriteLiteral("\r\n                        </th>\r\n                        <th>\r\n                            ");
            EndContext();
            BeginContext(2644, 51, false);
#line 61 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            Write(Html.DisplayNameFor(model => attendeeDummy.Company));

#line default
#line hidden
            EndContext();
            BeginContext(2695, 91, true);
            WriteLiteral("\r\n                        </th>\r\n                        <th>\r\n                            ");
            EndContext();
            BeginContext(2787, 55, false);
#line 64 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            Write(Html.DisplayNameFor(model => attendeeDummy.IsCheckedIn));

#line default
#line hidden
            EndContext();
            BeginContext(2842, 146, true);
            WriteLiteral("\r\n                        </th>\r\n                        <th></th>\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n");
            EndContext();
#line 70 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            foreach (var item in Model.Attendees)
            {
#line default
#line hidden
                BeginContext(3071, 96, true);
                WriteLiteral("                        <tr>\r\n                            <td>\r\n                                ");
                EndContext();
                BeginContext(3168, 37, false);
#line 74 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Id));

#line default
#line hidden
                EndContext();
                BeginContext(3205, 103, true);
                WriteLiteral("\r\n                            </td>\r\n                            <td>\r\n                                ");
                EndContext();
                BeginContext(3309, 44, false);
#line 77 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.FirstName));

#line default
#line hidden
                EndContext();
                BeginContext(3353, 103, true);
                WriteLiteral("\r\n                            </td>\r\n                            <td>\r\n                                ");
                EndContext();
                BeginContext(3457, 43, false);
#line 80 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.LastName));

#line default
#line hidden
                EndContext();
                BeginContext(3500, 103, true);
                WriteLiteral("\r\n                            </td>\r\n                            <td>\r\n                                ");
                EndContext();
                BeginContext(3604, 40, false);
#line 83 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Email));

#line default
#line hidden
                EndContext();
                BeginContext(3644, 103, true);
                WriteLiteral("\r\n                            </td>\r\n                            <td>\r\n                                ");
                EndContext();
                BeginContext(3748, 46, false);
#line 86 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.MobilePhone));

#line default
#line hidden
                EndContext();
                BeginContext(3794, 103, true);
                WriteLiteral("\r\n                            </td>\r\n                            <td>\r\n                                ");
                EndContext();
                BeginContext(3898, 43, false);
#line 89 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.JobTitle));

#line default
#line hidden
                EndContext();
                BeginContext(3941, 103, true);
                WriteLiteral("\r\n                            </td>\r\n                            <td>\r\n                                ");
                EndContext();
                BeginContext(4045, 42, false);
#line 92 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Company));

#line default
#line hidden
                EndContext();
                BeginContext(4087, 103, true);
                WriteLiteral("\r\n                            </td>\r\n                            <td>\r\n                                ");
                EndContext();
                BeginContext(4191, 46, false);
#line 95 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.IsCheckedIn));

#line default
#line hidden
                EndContext();
                BeginContext(4237, 105, true);
                WriteLiteral("\r\n                            </td>\r\n                            <td>\r\n\r\n                                ");
                EndContext();
                BeginContext(4343, 53, false);
#line 99 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.ActionLink("Edit", "Edit", new { id = item.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(4396, 36, true);
                WriteLiteral(" |\r\n                                ");
                EndContext();
                BeginContext(4433, 59, false);
#line 100 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.ActionLink("Details", "Details", new { id = item.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(4492, 38, true);
                WriteLiteral("\r\n                                <!--");
                EndContext();
                BeginContext(4531, 57, false);
#line 101 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
                Write(Html.ActionLink("Delete", "Delete", new { id = item.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(4588, 71, true);
                WriteLiteral("-->\r\n                            </td>\r\n                        </tr>\r\n");
                EndContext();
#line 104 "C:\Users\s00732221\Desktop\Project Repo\PrizeDraw\Views\Attendee\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(4682, 82, true);
            WriteLiteral("                </tbody>\r\n            </table>\r\n        </div>\r\n    </div>\n</div>\n");
            EndContext();
            DefineSection("scripts", async() => {
                BeginContext(4782, 405, true);
                WriteLiteral(@"
    <script>
        $(document).ready(function () {
            $('#importAttendees').hide();
        });

        var importToggle = true;
        function showImport() {
            if (importToggle) {
                $('#importAttendees').fadeIn();
            } else {
                $('#importAttendees').fadeOut();
            }

            importToggle = !importToggle;
        }
    </script>
");
                EndContext();
            }
                          );
        }
コード例 #12
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(40, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(83, 29, true);
            WriteLiteral("\r\n<h1>Index</h1>\r\n\r\n<p>\r\n    ");
            EndContext();
            BeginContext(112, 37, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "60828889cf08b29b324cd07e72de23d45a0549d33862", async() => {
                BeginContext(135, 10, true);
                WriteLiteral("Create New");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(149, 92, true);
            WriteLiteral("\r\n</p>\r\n<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(242, 45, false);
#line 16 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.ProductId));

#line default
#line hidden
            EndContext();
            BeginContext(287, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(343, 40, false);
#line 19 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Name));

#line default
#line hidden
            EndContext();
            BeginContext(383, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(439, 45, false);
#line 22 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.UnitPrice));

#line default
#line hidden
            EndContext();
            BeginContext(484, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(540, 47, false);
#line 25 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Description));

#line default
#line hidden
            EndContext();
            BeginContext(587, 21, true);
            WriteLiteral("\r\n            </th>\r\n");
            EndContext();
            BeginContext(834, 34, true);
            WriteLiteral("            <th>\r\n                ");
            EndContext();
            BeginContext(869, 47, false);
#line 34 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.CreatedDate));

#line default
#line hidden
            EndContext();
            BeginContext(916, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(972, 47, false);
#line 37 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.UpdatedDate));

#line default
#line hidden
            EndContext();
            BeginContext(1019, 86, true);
            WriteLiteral("\r\n            </th>\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 43 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(1154, 60, true);
                WriteLiteral("            <tr>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1215, 44, false);
#line 47 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.ProductId));

#line default
#line hidden
                EndContext();
                BeginContext(1259, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1327, 39, false);
#line 50 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Name));

#line default
#line hidden
                EndContext();
                BeginContext(1366, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1434, 44, false);
#line 53 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.UnitPrice));

#line default
#line hidden
                EndContext();
                BeginContext(1478, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1546, 46, false);
#line 56 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Description));

#line default
#line hidden
                EndContext();
                BeginContext(1592, 25, true);
                WriteLiteral("\r\n                </td>\r\n");
                EndContext();
                BeginContext(1869, 42, true);
                WriteLiteral("                <td>\r\n                    ");
                EndContext();
                BeginContext(1912, 46, false);
#line 65 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.CreatedDate));

#line default
#line hidden
                EndContext();
                BeginContext(1958, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(2026, 46, false);
#line 68 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.UpdatedDate));

#line default
#line hidden
                EndContext();
                BeginContext(2072, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(2140, 59, false);
#line 71 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
                Write(Html.ActionLink("Edit", "Edit", new { id = item.ObjectId }));

#line default
#line hidden
                EndContext();
                BeginContext(2199, 24, true);
                WriteLiteral(" |\r\n                    ");
                EndContext();
                BeginContext(2224, 65, false);
#line 72 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
                Write(Html.ActionLink("Details", "Details", new { id = item.ObjectId }));

#line default
#line hidden
                EndContext();
                BeginContext(2289, 24, true);
                WriteLiteral(" |\r\n                    ");
                EndContext();
                BeginContext(2314, 64, false);
#line 73 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
                Write(Html.ActionLink("Delete", "Delete", new { id = item.ProductId }));

#line default
#line hidden
                EndContext();
                BeginContext(2378, 44, true);
                WriteLiteral("\r\n                </td>\r\n            </tr>\r\n");
                EndContext();
#line 76 "C:\Learning\SampleApps\CosmosDb_Demo_Crud\CosmosDb_Demo_Crud\Views\Products\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2433, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
コード例 #13
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(61, 11, true);
            WriteLiteral("\r\n<p>\r\n    ");
            EndContext();
            BeginContext(72, 37, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3bad3fc17538c4311e79884aff0d39dbb1c64cf83523", async() => {
                BeginContext(95, 10, true);
                WriteLiteral("Create New");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(109, 170, true);
            WriteLiteral("\r\n</p>\r\n<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                model => model.LinkText\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(280, 42, false);
#line 13 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Action));

#line default
#line hidden
            EndContext();
            BeginContext(322, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(378, 46, false);
#line 16 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Controller));

#line default
#line hidden
            EndContext();
            BeginContext(424, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(480, 45, false);
#line 19 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.ProfileId));

#line default
#line hidden
            EndContext();
            BeginContext(525, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(581, 45, false);
#line 22 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.MenuOrder));

#line default
#line hidden
            EndContext();
            BeginContext(626, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(682, 47, false);
#line 25 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.DefaultMenu));

#line default
#line hidden
            EndContext();
            BeginContext(729, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(785, 42, false);
#line 28 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Active));

#line default
#line hidden
            EndContext();
            BeginContext(827, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(883, 40, false);
#line 31 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Icon));

#line default
#line hidden
            EndContext();
            BeginContext(923, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(979, 42, false);
#line 34 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.MenuId));

#line default
#line hidden
            EndContext();
            BeginContext(1021, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(1077, 42, false);
#line 37 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.RoleId));

#line default
#line hidden
            EndContext();
            BeginContext(1119, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(1175, 42, false);
#line 40 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.TempId));

#line default
#line hidden
            EndContext();
            BeginContext(1217, 86, true);
            WriteLiteral("\r\n            </th>\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 46 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(1335, 48, true);
                WriteLiteral("        <tr>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1384, 43, false);
#line 49 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.LinkText));

#line default
#line hidden
                EndContext();
                BeginContext(1427, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1483, 41, false);
#line 52 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Action));

#line default
#line hidden
                EndContext();
                BeginContext(1524, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1580, 45, false);
#line 55 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Controller));

#line default
#line hidden
                EndContext();
                BeginContext(1625, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1681, 44, false);
#line 58 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.ProfileId));

#line default
#line hidden
                EndContext();
                BeginContext(1725, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1781, 44, false);
#line 61 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.MenuOrder));

#line default
#line hidden
                EndContext();
                BeginContext(1825, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1881, 46, false);
#line 64 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.DefaultMenu));

#line default
#line hidden
                EndContext();
                BeginContext(1927, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1983, 41, false);
#line 67 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Active));

#line default
#line hidden
                EndContext();
                BeginContext(2024, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(2080, 39, false);
#line 70 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Icon));

#line default
#line hidden
                EndContext();
                BeginContext(2119, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(2175, 41, false);
#line 73 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.MenuId));

#line default
#line hidden
                EndContext();
                BeginContext(2216, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(2272, 41, false);
#line 76 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.RoleId));

#line default
#line hidden
                EndContext();
                BeginContext(2313, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(2369, 41, false);
#line 79 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.TempId));

#line default
#line hidden
                EndContext();
                BeginContext(2410, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(2466, 65, false);
#line 82 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }));

#line default
#line hidden
                EndContext();
                BeginContext(2531, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(2552, 71, false);
#line 83 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }));

#line default
#line hidden
                EndContext();
                BeginContext(2623, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(2644, 69, false);
#line 84 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
                Write(Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ }));

#line default
#line hidden
                EndContext();
                BeginContext(2713, 36, true);
                WriteLiteral("\r\n            </td>\r\n        </tr>\r\n");
                EndContext();
#line 87 "D:\Projects\SSAAPI\src\Presentation\Audree.Ssa.Web\Views\Menu\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2752, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
コード例 #14
0
        public override void Execute()
        {
            WriteLiteral("<script src=\"/Scripts/jquery.validate.unobtrusive.js\"></script>\r\n");



            #line 4 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"

            ViewBag.Title = "Danh mục lãi suất truy thu";



            #line default
            #line hidden
            WriteLiteral("\r\n<h2>Danh mục lãi suất truy thu</h2>\r\n\r\n<p>\r\n    ");



            #line 11 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
            Write(Html.ActionLink("Thêm mới", "Create"));


            #line default
            #line hidden
            WriteLiteral(@"
</p>
<table id=""LaiSuatTruyThu"">
<thead>
    <tr>
        <th nowrap>
           STT
        </th>
        <th nowrap>
            Ngày áp dụng
        </th>
        <th nowrap>
            Ngày kết thúc
        </th>
        <th nowrap> 
            BHXH
        </th>
        <th nowrap>
            ");



            #line 29 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.BHYT));


            #line default
            #line hidden
            WriteLiteral("\r\n        </th>\r\n        <th nowrap>\r\n            ");



            #line 32 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.BHTN));


            #line default
            #line hidden
            WriteLiteral("\r\n        </th>\r\n\r\n        <th></th>\r\n        <th></th>\r\n    </tr>\r\n    </thead>\r" +
                         "\n    <tbody>\r\n    \r\n");



            #line 41 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
            foreach (var item in Model)
            {
            #line default
            #line hidden
                WriteLiteral("    <tr>\r\n            <td>\r\n            ");



            #line 44 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.STT));


            #line default
            #line hidden
                WriteLiteral("\r\n        </td>\r\n        <td>\r\n            ");



            #line 47 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
                Write(item.NgayApDung.Value.ToShortDateString());


            #line default
            #line hidden
                WriteLiteral("\r\n        </td>\r\n        <td>\r\n            ");



            #line 50 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
                Write(item.NgayKetThuc.Value.ToShortDateString());


            #line default
            #line hidden
                WriteLiteral("\r\n        </td>\r\n        <td>\r\n            ");



            #line 53 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.BHXH));


            #line default
            #line hidden
                WriteLiteral("\r\n        </td>\r\n        <td>\r\n            ");



            #line 56 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.BHYT));


            #line default
            #line hidden
                WriteLiteral("\r\n        </td>\r\n        <td>\r\n            ");



            #line 59 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.BHTN));


            #line default
            #line hidden
                WriteLiteral("\r\n        </td>\r\n\r\n        <td>\r\n<td align=\"right\" nowrap>        \r\n            <" +
                             "a class=\"dialog\" href=\"dmLaiSuatTruyThu/Edit?id=");



            #line 64 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
                Write(item.id);


            #line default
            #line hidden
                WriteLiteral("\" title=\"Chỉnh sửa\"><span class=\"ui-icon ui-icon-pencil\" style=\"display:inline-bl" +
                             "ock\"/></a>\r\n             <a class=\"dialog\" href=\"dmLaiSuatTruyThu/Delete?id=");



            #line 65 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
                Write(item.id);


            #line default
            #line hidden
                WriteLiteral("\" title=\"Xóa\"><span class=\"ui-icon ui-icon-trash\" style=\"display:inline-block\"/><" +
                             "/a> \r\n        </td>\r\n        </td>>\r\n    </tr>\r\n");



            #line 69 "..\..\Views\dmLaiSuatTruyThu\Index.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral(@"</tbody>
</table>


<script>
    $(document).ready(function () {
        $(""#LaiSuatTruyThu"").dataTable({
            ""bAutoWidth"": false,
            ""bStateSave"": true,
            ""aLengthMenu"": [[10, 25, 50, -1], [10, 25, 50, ""All""]]
        });
    });
  </script>");
        }
コード例 #15
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(121, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(164, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(194, 106, true);
            WriteLiteral("\r\n<div>\r\n    <p align =\"center\"> <b>Items</b> </p>\r\n    </div>\r\n<div>\r\n    <button class=\"btn btn-default\"");
            EndContext();
            BeginWriteAttribute("onclick", " onclick=\"", 300, "\"", 363, 3);
            WriteAttributeValue("", 310, "window.location.href=\'", 310, 22, true);
#line 14 "/Volumes/Suresh/VS Code/CoreSRT/CoreSRT/Views/Items/Index.cshtml"
            WriteAttributeValue("", 332, Url.Action("Create", "Items"), 332, 30, false);

#line default
#line hidden
            WriteAttributeValue("", 362, "\'", 362, 1, true);
            EndWriteAttribute();
            BeginContext(364, 290, true);
            WriteLiteral(@"> Add New </button>
<table class=""table table-hover"">
    <thead>
        <tr>
            <td>Description</td>
            <td>Rate</td>
            <td>CGST</td>
            <td>SGST</td>
            <td>Amount</td>
            <td>Actions</td>
        </tr>
        </thead>
");
            EndContext();
#line 26 "/Volumes/Suresh/VS Code/CoreSRT/CoreSRT/Views/Items/Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(695, 48, true);
                WriteLiteral("        <tr>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(744, 16, false);
#line 30 "/Volumes/Suresh/VS Code/CoreSRT/CoreSRT/Views/Items/Index.cshtml"
                Write(item.Description);

#line default
#line hidden
                EndContext();
                BeginContext(760, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(816, 9, false);
#line 33 "/Volumes/Suresh/VS Code/CoreSRT/CoreSRT/Views/Items/Index.cshtml"
                Write(item.Rate);

#line default
#line hidden
                EndContext();
                BeginContext(825, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(881, 9, false);
#line 36 "/Volumes/Suresh/VS Code/CoreSRT/CoreSRT/Views/Items/Index.cshtml"
                Write(item.CGST);

#line default
#line hidden
                EndContext();
                BeginContext(890, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(946, 9, false);
#line 39 "/Volumes/Suresh/VS Code/CoreSRT/CoreSRT/Views/Items/Index.cshtml"
                Write(item.SGST);

#line default
#line hidden
                EndContext();
                BeginContext(955, 54, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n               ");
                EndContext();
                BeginContext(1011, 44, false);
#line 42 "/Volumes/Suresh/VS Code/CoreSRT/CoreSRT/Views/Items/Index.cshtml"
                Write(@item.Rate + (@item.CGST + @item.SGST) / 100);

#line default
#line hidden
                EndContext();
                BeginContext(1056, 56, true);
                WriteLiteral(" \r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1113, 95, false);
#line 45 "/Volumes/Suresh/VS Code/CoreSRT/CoreSRT/Views/Items/Index.cshtml"
                Write(Html.ActionLink("", "Edit", new { Id = @item.Id }, new { @class = "glyphicon glyphicon-edit" }));

#line default
#line hidden
                EndContext();
                BeginContext(1208, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(1229, 193, false);
#line 46 "/Volumes/Suresh/VS Code/CoreSRT/CoreSRT/Views/Items/Index.cshtml"
                Write(Html.ActionLink("", "Delete", new { Id = @item.Id },
                                      new { onclick = "return confirm('Do you really want to delete this Item?')", @class = "glyphicon glyphicon-remove", @style = "color:red" }));

#line default
#line hidden
                EndContext();
                BeginContext(1422, 36, true);
                WriteLiteral("\r\n            </td>\r\n        </tr>\r\n");
                EndContext();
#line 50 "/Volumes/Suresh/VS Code/CoreSRT/CoreSRT/Views/Items/Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1467, 21, true);
            WriteLiteral("\r\n</table>\r\n </div>\r\n");
            EndContext();
        }
コード例 #16
0
        public override void Execute()
        {
            #line 3 "..\..\Views\T_PositionType\Details.cshtml"

            ViewBag.Title = "View Position Type";
            var EntityDisplayNameReflector = ModelReflector.Entities.FirstOrDefault(p => p.Name == "T_PositionType");
            var EntityDisplayName          = EntityDisplayNameReflector != null ? EntityDisplayNameReflector.DisplayName : "Position Type";


            #line default
            #line hidden
            WriteLiteral("\r\n<script>\r\n    $(document).ready(function () {\r\n\t\t\t if ($.cookie(\'");


            #line 10 "..\..\Views\T_PositionType\Details.cshtml"
            Write(User.JavaScriptEncodedName);


            #line default
            #line hidden

            #line 10 "..\..\Views\T_PositionType\Details.cshtml"
            Write(Model.Id);


            #line default
            #line hidden
            WriteLiteral("\' + \'TabCookie\') != null) {\r\n\t\t\t\t$(\'a[href=\"#\' + $.cookie(\'");


            #line 11 "..\..\Views\T_PositionType\Details.cshtml"
            Write(User.JavaScriptEncodedName);


            #line default
            #line hidden

            #line 11 "..\..\Views\T_PositionType\Details.cshtml"
            Write(Model.Id);


            #line default
            #line hidden
            WriteLiteral("\' + \'TabCookie\') + \'\"]\').click();\r\n\t\t\t }\r\n    });\r\n</script>\r\n");


            #line 15 "..\..\Views\T_PositionType\Details.cshtml"

            if (!string.IsNullOrEmpty(ViewBag.T_PositionTypeIsHiddenRule))
            {
            #line default
            #line hidden

            #line 18 "..\..\Views\T_PositionType\Details.cshtml"
                Write(Html.Raw(ViewBag.T_PositionTypeIsHiddenRule));


            #line default
            #line hidden

            #line 18 "..\..\Views\T_PositionType\Details.cshtml"
                ;
            }


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 21 "..\..\Views\T_PositionType\Details.cshtml"

            if (!string.IsNullOrEmpty(ViewBag.T_PositionTypeIsGroupsHiddenRule))
            {
            #line default
            #line hidden

            #line 24 "..\..\Views\T_PositionType\Details.cshtml"
                Write(Html.Raw(ViewBag.T_PositionTypeIsGroupsHiddenRule));


            #line default
            #line hidden

            #line 24 "..\..\Views\T_PositionType\Details.cshtml"
                ;
            }


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 27 "..\..\Views\T_PositionType\Details.cshtml"

            if (!string.IsNullOrEmpty(ViewBag.T_PositionTypeIsSetValueUIRule))
            {
            #line default
            #line hidden

            #line 30 "..\..\Views\T_PositionType\Details.cshtml"
                Write(Html.Raw(ViewBag.T_PositionTypeIsSetValueUIRule));


            #line default
            #line hidden

            #line 30 "..\..\Views\T_PositionType\Details.cshtml"
                ;
            }


            #line default
            #line hidden
            WriteLiteral("\r\n<div");

            WriteLiteral(" class=\"row\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"col-lg-12\"");

            WriteLiteral(">\r\n        <h1");

            WriteLiteral(" class=\"page-title\"");

            WriteLiteral(">\r\n            <i");

            WriteLiteral(" class=\"glyphicon glyphicon-hand-down text-primary\"");

            WriteLiteral("></i> ");


            #line 36 "..\..\Views\T_PositionType\Details.cshtml"
            Write(EntityDisplayName);


            #line default
            #line hidden
            WriteLiteral("  <i");

            WriteLiteral(" class=\"glyphicon glyphicon-chevron-right small\"");

            WriteLiteral("></i> <span>View</span>\r\n        </h1>\r\n        <h2");

            WriteLiteral(" class=\"text-primary\"");

            WriteLiteral("><span");

            WriteLiteral(" id=\"HostingEntityDisplayValue\"");

            WriteLiteral(">");


            #line 38 "..\..\Views\T_PositionType\Details.cshtml"
            Write(Html.DisplayFor(model => model.DisplayValue));


            #line default
            #line hidden
            WriteLiteral("</span>\r\n\t\t\t<div");

            WriteLiteral(" class=\"btn-group pull-right fixactionbut\"");

            WriteLiteral(">\r\n            <a");

            WriteLiteral(" data-toggle=\"dropdown\"");

            WriteLiteral(" class=\"btn btn-xs dropdown-toggle pull-right\"");

            WriteLiteral(">\r\n                Action\r\n                <span");

            WriteLiteral(" class=\"caret\"");

            WriteLiteral(">    </span>\r\n            </button>\r\n\t\t\t<ul");

            WriteLiteral(" class=\"dropdown-menu pull-left\"");

            WriteLiteral(">               \r\n\t\t\t\t<li>\r\n");


            #line 46 "..\..\Views\T_PositionType\Details.cshtml"


            #line default
            #line hidden

            #line 46 "..\..\Views\T_PositionType\Details.cshtml"
            if (User.CanEdit("T_PositionType"))
            {
            #line default
            #line hidden
                WriteLiteral("                        <a");

                WriteAttribute("href", Tuple.Create(" href=\"", 1856), Tuple.Create("\"", 2134)

            #line 48 "..\..\Views\T_PositionType\Details.cshtml"
                               , Tuple.Create(Tuple.Create("", 1863), Tuple.Create <System.Object, System.Int32>(Url.Action("Edit", "T_PositionType", new { UrlReferrer = Request.UrlReferrer, id = Model.Id, AssociatedType = ViewData["AssociatedType"], HostingEntityName = @Convert.ToString(ViewData["HostingEntity"]), HostingEntityID = @Convert.ToString(ViewData["HostingEntityID"]) }, null)

            #line default
            #line hidden
                                                                                                                 , 1863), false)
                               );

                WriteLiteral("><i");

                WriteLiteral(" class=\"glyphicon glyphicon-edit\"");

                WriteLiteral("></i>  Edit</a>\r\n");


            #line 49 "..\..\Views\T_PositionType\Details.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("                </li>             \r\n\t\t\t\t<li>\r\n");


            #line 52 "..\..\Views\T_PositionType\Details.cshtml"


            #line default
            #line hidden

            #line 52 "..\..\Views\T_PositionType\Details.cshtml"
            if (User.CanDelete("T_PositionType"))
            {
            #line default
            #line hidden
                WriteLiteral("                        <a");

                WriteAttribute("href", Tuple.Create(" href=\"", 2367), Tuple.Create("\"", 2651)

            #line 54 "..\..\Views\T_PositionType\Details.cshtml"
                               , Tuple.Create(Tuple.Create("", 2374), Tuple.Create <System.Object, System.Int32>(Url.Action("Delete", "T_PositionType", new { UrlReferrer = Request.UrlReferrer, id = Model.Id, AssociatedType = ViewData["AssociatedType"], HostingEntityName = @Convert.ToString(ViewData["HostingEntity"]), HostingEntityID = @Convert.ToString(ViewData["HostingEntityID"]) }, null)

            #line default
            #line hidden
                                                                                                                 , 2374), false)
                               );

                WriteLiteral("><i");

                WriteLiteral(" class=\"glyphicon glyphicon-remove-sign\"");

                WriteLiteral("></i>  Delete</a>\r\n");


            #line 55 "..\..\Views\T_PositionType\Details.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("                </li>\r\n\t<li");

            WriteLiteral(" class=\"divider\"");

            WriteLiteral(" style=\"clear:both\"");

            WriteLiteral("></li>\r\n\t<li");

            WriteLiteral(" class=\"dropdown-submenu pull-left\"");

            WriteLiteral(" id=\"AddAssociationdropmenuT_PositionType\"");

            WriteLiteral(">\r\n");


            #line 59 "..\..\Views\T_PositionType\Details.cshtml"


            #line default
            #line hidden

            #line 59 "..\..\Views\T_PositionType\Details.cshtml"
            var dropmenu = false;

            #line default
            #line hidden
            WriteLiteral("\r\n\t<a");

            WriteLiteral(" tabindex=\"-1\"");

            WriteLiteral(" href=\"#\"");

            WriteLiteral(" style=\"margin-bottom:10px;\"");

            WriteLiteral("><i");

            WriteLiteral(" class=\"fam-anchor small\"");

            WriteLiteral("></i> Add</a>\r\n    <ul");

            WriteLiteral(" class=\"dropdown-menu pull-left\"");

            WriteLiteral(">\r\n");


            #line 62 "..\..\Views\T_PositionType\Details.cshtml"


            #line default
            #line hidden

            #line 62 "..\..\Views\T_PositionType\Details.cshtml"
            if (User.CanAdd("T_Position"))
            {
                dropmenu = true;


            #line default
            #line hidden
                WriteLiteral("\t\t\t\t\t<li>\r\n\t\t\t\t\t\t<a");

                WriteAttribute("onclick", Tuple.Create(" onclick=", 3141), Tuple.Create("", 3419)

            #line 65 "..\..\Views\T_PositionType\Details.cshtml"
                               , Tuple.Create(Tuple.Create("", 3150), Tuple.Create <System.Object, System.Int32>(Html.Raw("NavigateToUrl('" + Url.Action("Create", "T_Position",
                                                                                                                                                         new { UrlReferrer       = Request.Url,
                                                                                                                                                               AssociatedType    = "T_TypeOfPosition",
                                                                                                                                                               HostingEntityName = "T_PositionType",
                                                                                                                                                               HostingEntityID   = @Convert.ToString(Model.Id) }, null) + "');")

            #line default
            #line hidden
                                                                                                                 , 3150), false)
                               );

                WriteLiteral(">\r\n\t\t\t\t\t\t\t<i");

                WriteLiteral(" class=\"glyphicon glyphicon-plus\"");

                WriteLiteral("></i>  Position\r\n\t\t\t\t\t\t</a>\r\n\t\t\t\t\t</li>\r\n");


            #line 73 "..\..\Views\T_PositionType\Details.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\t\t\t</ul>\r\n</li>\r\n");


            #line 76 "..\..\Views\T_PositionType\Details.cshtml"
            if (!dropmenu)
            {
            #line default
            #line hidden
                WriteLiteral("    <script>\r\n        $(\"#AddAssociationdropmenuT_PositionType\").hide();\r\n    </s" +
                             "cript>\r\n");


            #line 81 "..\..\Views\T_PositionType\Details.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\t\t\t</ul>\r\n\r\n\r\n\t\t</h2>\r\n    </div>\r\n    <!-- /.col-lg-12 -->\r\n</div>\r\n<div");

            WriteLiteral(" class=\"tabbable responsive\"");

            WriteLiteral(">\r\n    <ul");

            WriteLiteral(" class=\"nav nav-tabs\"");

            WriteLiteral(">\r\n\t <li");

            WriteLiteral(" class=\"active\"");

            WriteLiteral("><a");

            WriteLiteral(" href=\"#Details\"");

            WriteAttribute("onclick", Tuple.Create(" onclick=\"", 3814), Tuple.Create("\"", 3879)
                           , Tuple.Create(Tuple.Create("", 3824), Tuple.Create("ClearTabCookie(\'", 3824), true)

            #line 91 "..\..\Views\T_PositionType\Details.cshtml"
                           , Tuple.Create(Tuple.Create("", 3840), Tuple.Create <System.Object, System.Int32>(User.JavaScriptEncodedName

            #line default
            #line hidden
                                                                                                             , 3840), false)

            #line 91 "..\..\Views\T_PositionType\Details.cshtml"
                           , Tuple.Create(Tuple.Create("", 3867), Tuple.Create <System.Object, System.Int32>(Model.Id

            #line default
            #line hidden
                                                                                                             , 3867), false)
                           , Tuple.Create(Tuple.Create("", 3876), Tuple.Create("\');", 3876), true)
                           );

            WriteLiteral(" data-toggle=\"tab\"");

            WriteLiteral(">Details</a></li>\r\n\t\t <li ");


            #line 92 "..\..\Views\T_PositionType\Details.cshtml"
            Write(!User.CanView("T_Position") ?"style=display:none;":"");


            #line default
            #line hidden
            WriteLiteral("><a");

            WriteAttribute("onclick", Tuple.Create(" onclick=\"", 3983), Tuple.Create("\"", 4262)
                           , Tuple.Create(Tuple.Create("", 3993), Tuple.Create("LoadTab(\'T_TypeOfPosition\',\'", 3993), true)

            #line 92 "..\..\Views\T_PositionType\Details.cshtml"
                           , Tuple.Create(Tuple.Create("", 4021), Tuple.Create <System.Object, System.Int32>(User.JavaScriptEncodedName

            #line default
            #line hidden
                                                                                                             , 4021), false)

            #line 92 "..\..\Views\T_PositionType\Details.cshtml"
                           , Tuple.Create(Tuple.Create("", 4048), Tuple.Create <System.Object, System.Int32>(Model.Id

            #line default
            #line hidden
                                                                                                             , 4048), false)
                           , Tuple.Create(Tuple.Create("", 4057), Tuple.Create("\',\'", 4057), true)

            #line 92 "..\..\Views\T_PositionType\Details.cshtml"
                           , Tuple.Create(Tuple.Create("", 4060), Tuple.Create <System.Object, System.Int32>(Html.Raw(Url.Action("Index", "T_Position", new { RenderPartial = true, HostingEntity = "T_PositionType", HostingEntityID = @Model.Id, AssociatedType = "T_TypeOfPosition", TabToken = DateTime.Now.Ticks, }))

            #line default
            #line hidden
                                                                                                             , 4060), false)
                           , Tuple.Create(Tuple.Create("", 4260), Tuple.Create("\')", 4260), true)
                           );

            WriteLiteral(" href=\"#T_TypeOfPosition\"");

            WriteLiteral(" data-toggle=\"tab\"");

            WriteLiteral(">\r\n\t\t Position\r\n\t\t <span");

            WriteLiteral(" class=\"badge bg-blue\"");

            WriteLiteral("><div");

            WriteLiteral(" id=\"dvcnt_T_TypeOfPosition\"");

            WriteLiteral(">");


            #line 94 "..\..\Views\T_PositionType\Details.cshtml"
            Write(ViewBag.T_TypeOfPositionCount);


            #line default
            #line hidden
            WriteLiteral("</div></span>\r\n\t\t \t\t </a></li>\r\n\t\t <li ");


            #line 96 "..\..\Views\T_PositionType\Details.cshtml"
            Write(!User.CanView("JournalEntry")?"style=display:none;":"");


            #line default
            #line hidden
            WriteLiteral("><a");

            WriteAttribute("onclick", Tuple.Create(" onclick=\"", 4515), Tuple.Create("\"", 4807)
                           , Tuple.Create(Tuple.Create("", 4525), Tuple.Create("LoadTab(\'JournalEntryToT_PositionTypeRelation\',\'", 4525), true)

            #line 96 "..\..\Views\T_PositionType\Details.cshtml"
                           , Tuple.Create(Tuple.Create("", 4573), Tuple.Create <System.Object, System.Int32>(User.JavaScriptEncodedName

            #line default
            #line hidden
                                                                                                             , 4573), false)

            #line 96 "..\..\Views\T_PositionType\Details.cshtml"
                           , Tuple.Create(Tuple.Create("", 4600), Tuple.Create <System.Object, System.Int32>(Model.Id

            #line default
            #line hidden
                                                                                                             , 4600), false)
                           , Tuple.Create(Tuple.Create("", 4609), Tuple.Create("\',\'", 4609), true)

            #line 96 "..\..\Views\T_PositionType\Details.cshtml"
                           , Tuple.Create(Tuple.Create("", 4612), Tuple.Create <System.Object, System.Int32>(Url.Action("Index", "JournalEntry", new { RenderPartial = true, HostingEntity = "T_PositionType", HostingEntityID = @Model.Id, AssociatedType = "JournalEntry", TabToken = DateTime.Now.Ticks })

            #line default
            #line hidden
                                                                                                             , 4612), false)
                           , Tuple.Create(Tuple.Create("", 4805), Tuple.Create("\')", 4805), true)
                           );

            WriteLiteral(" href=\"#JournalEntryToT_PositionTypeRelation\"");

            WriteLiteral(" data-toggle=\"tab\"");

            WriteLiteral(">Position Type Journal</a></li>\r\n    </ul>\r\n");

            WriteLiteral("\t  ");


            #line 98 "..\..\Views\T_PositionType\Details.cshtml"
            Write(Html.HiddenFor(model => model.Id));


            #line default
            #line hidden
            WriteLiteral("\r\n\t    <div");

            WriteLiteral(" class=\"tab-content\"");

            WriteLiteral(">\r\n\t\t   <div");

            WriteLiteral(" class=\"tab-pane fade in active\"");

            WriteLiteral(" id=\"Details\"");

            WriteLiteral(">\r\n\t\t\t\t <div");

            WriteLiteral(" class=\"panel panel-default AppForm\"");

            WriteLiteral(">\r\n\t\t\t\t\t<div");

            WriteLiteral(" class=\"panel-body\"");

            WriteLiteral(">\r\n                                  \r\n\t\t\t\r\n\t\t\t<div");

            WriteLiteral(" class=\"row\"");

            WriteLiteral(">\r\n");


            #line 106 "..\..\Views\T_PositionType\Details.cshtml"
            if (User.CanView("T_PositionType", "T_Name"))
            {
            #line default
            #line hidden
                WriteLiteral("<div");

                WriteLiteral(" class=\'col-sm-6 col-md-6 col-xs-12\'");

                WriteLiteral(" id=\"dvT_Name\"");

                WriteLiteral(">\r\n\t<div");

                WriteLiteral(" class=\'form-group\'");

                WriteAttribute("title", Tuple.Create(" title=\"", 5315), Tuple.Create("\"", 5336)

            #line 109 "..\..\Views\T_PositionType\Details.cshtml"
                               , Tuple.Create(Tuple.Create("", 5323), Tuple.Create <System.Object, System.Int32>(Model.T_Name

            #line default
            #line hidden
                                                                                                                 , 5323), false)
                               );

                WriteLiteral(">\r\n\t\t<label");

                WriteLiteral(" class=\"col-sm-5 col-md-5 col-xs-12\"");

                WriteLiteral(">");


            #line 110 "..\..\Views\T_PositionType\Details.cshtml"
                Write(Html.DisplayNameFor(model => model.T_Name));


            #line default
            #line hidden
                WriteLiteral(" </label>\r\n\t\t<div");

                WriteLiteral(" class=\"input-group col-sm-7 col-md-7 col-xs-12\"");

                WriteLiteral(">\r\n\t\t\r\n\t\t\t\t\r\n\t\t\t\t<p");

                WriteLiteral(" id=\"lblT_Name\"");

                WriteLiteral(" class=\"viewlabel\"");

                WriteLiteral(">");


            #line 114 "..\..\Views\T_PositionType\Details.cshtml"
                Write(Model.T_Name);


            #line default
            #line hidden
                WriteLiteral("</p>\r\n\t\t\t\t\t\r\n\t\t\t\t\t</div>\r\n\t</div>\r\n</div>\r\n");


            #line 119 "..\..\Views\T_PositionType\Details.cshtml"
            }


            #line default
            #line hidden

            #line 120 "..\..\Views\T_PositionType\Details.cshtml"
            if (User.CanView("T_PositionType", "T_Description"))
            {
            #line default
            #line hidden
                WriteLiteral("<div");

                WriteLiteral(" class=\'col-sm-6 col-md-6 col-xs-12\'");

                WriteLiteral(" id=\"dvT_Description\"");

                WriteLiteral(">\r\n\t<div");

                WriteLiteral(" class=\'form-group\'");

                WriteAttribute("title", Tuple.Create(" title=\"", 5749), Tuple.Create("\"", 5777)

            #line 123 "..\..\Views\T_PositionType\Details.cshtml"
                               , Tuple.Create(Tuple.Create("", 5757), Tuple.Create <System.Object, System.Int32>(Model.T_Description

            #line default
            #line hidden
                                                                                                                 , 5757), false)
                               );

                WriteLiteral(">\r\n\t\t<label");

                WriteLiteral(" class=\"col-sm-5 col-md-5 col-xs-12\"");

                WriteLiteral(">");


            #line 124 "..\..\Views\T_PositionType\Details.cshtml"
                Write(Html.DisplayNameFor(model => model.T_Description));


            #line default
            #line hidden
                WriteLiteral("</label>\r\n\t\t<div");

                WriteLiteral(" class=\"input-group col-sm-7 col-md-7 col-xs-12\"");

                WriteLiteral(">\r\n\t\t<p");

                WriteLiteral(" class=\"viewlabelmultiline\"");

                WriteLiteral(">");


            #line 126 "..\..\Views\T_PositionType\Details.cshtml"
                Write(Model.T_Description);


            #line default
            #line hidden
                WriteLiteral("</p>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n");


            #line 130 "..\..\Views\T_PositionType\Details.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t\r\n\t\t\t<div");

            WriteLiteral(" class=\"row\"");

            WriteLiteral(">\r\n\t\t\t\t<div");

            WriteLiteral(" class=\"col-md-12 col-sm-12 col-xs-12\"");

            WriteLiteral(">\r\n\t\t\t\t<a");

            WriteLiteral(" class=\"btn btn-default btn-sm pull-left formbuttonfix\"");

            WriteAttribute("Onclick", Tuple.Create(" Onclick=\"", 6201), Tuple.Create("\"", 6259)
                           , Tuple.Create(Tuple.Create("", 6211), Tuple.Create("goBack(\'", 6211), true)

            #line 137 "..\..\Views\T_PositionType\Details.cshtml"
                           , Tuple.Create(Tuple.Create("", 6219), Tuple.Create <System.Object, System.Int32>(Url.Action("Index", "T_PositionType")

            #line default
            #line hidden
                                                                                                             , 6219), false)
                           , Tuple.Create(Tuple.Create("", 6256), Tuple.Create("\');", 6256), true)
                           );

            WriteLiteral(">Back</a>\r\n\t\t\t\t");

            WriteLiteral("\r\n\t\t\t\t\t\r\n");


            #line 140 "..\..\Views\T_PositionType\Details.cshtml"


            #line default
            #line hidden

            #line 140 "..\..\Views\T_PositionType\Details.cshtml"
            if (User.CanEdit("T_PositionType"))
            {
            #line default
            #line hidden

            #line 142 "..\..\Views\T_PositionType\Details.cshtml"
                Write(Html.ActionLink("Edit", "Edit", new { UrlReferrer = Request.UrlReferrer, id = Model.Id, AssociatedType = ViewData["AssociatedType"], HostingEntityName = @Convert.ToString(ViewData["HostingEntity"]), HostingEntityID = @Convert.ToString(ViewData["HostingEntityID"]) }, new { @class = "btn btn-primary btn-sm pull-left formbuttonfix" }));


            #line default
            #line hidden

            #line 142 "..\..\Views\T_PositionType\Details.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\t\t\t\t   \r\n");


            #line 145 "..\..\Views\T_PositionType\Details.cshtml"


            #line default
            #line hidden

            #line 145 "..\..\Views\T_PositionType\Details.cshtml"
            var dropmenubottom = false;

            #line default
            #line hidden
            WriteLiteral("\r\n<div");

            WriteLiteral(" class=\"dropdown pull-left formbuttonfix\"");

            WriteLiteral(" style=\"\"");

            WriteLiteral(" id=\"AddAssociationdropmenubottomT_PositionType\"");

            WriteLiteral(">\r\n<button");

            WriteLiteral(" type=\"button\"");

            WriteLiteral(" class=\"btn btn-primary btn-sm dropdown-toggle\"");

            WriteLiteral(" id=\"dropdownMenu1\"");

            WriteLiteral(" data-toggle=\"dropdown\"");

            WriteLiteral(">\r\n            Add Association\r\n            <span");

            WriteLiteral(" class=\"caret\"");

            WriteLiteral("></span>\r\n        </button>\r\n\t\t <ul");

            WriteLiteral(" class=\"dropdown-menu\"");

            WriteLiteral(" role=\"menu\"");

            WriteLiteral(" aria-labelledby=\"dropdownMenu1\"");

            WriteLiteral(">\r\n");


            #line 152 "..\..\Views\T_PositionType\Details.cshtml"


            #line default
            #line hidden

            #line 152 "..\..\Views\T_PositionType\Details.cshtml"
            if (User.CanAdd("T_Position"))
            {
                dropmenubottom = true;


            #line default
            #line hidden
                WriteLiteral("                <li><a");

                WriteAttribute("onclick", Tuple.Create(" onclick=", 7417), Tuple.Create("", 7741)

            #line 155 "..\..\Views\T_PositionType\Details.cshtml"
                               , Tuple.Create(Tuple.Create("", 7426), Tuple.Create <System.Object, System.Int32>(Html.Raw("NavigateToUrl('" + Url.Action("Create", "T_Position",
                                                                                                                                                         new { UrlReferrer       = Request.Url,
                                                                                                                                                               AssociatedType    = "T_TypeOfPosition",
                                                                                                                                                               HostingEntityName = "T_PositionType",
                                                                                                                                                               HostingEntityID   = @Convert.ToString(Model.Id) }, null) + "');")

            #line default
            #line hidden
                                                                                                                 , 7426), false)
                               );

                WriteLiteral(">\r\n                   Add  Position\r\n                </a>\r\n\t\t\t\t</li>\r\n");


            #line 164 "..\..\Views\T_PositionType\Details.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n\t\t\t\r\n</ul>\r\n</div>\r\n");


            #line 169 "..\..\Views\T_PositionType\Details.cshtml"
            if (!dropmenubottom)
            {
            #line default
            #line hidden
                WriteLiteral("    <script>\r\n        $(\"#AddAssociationdropmenubottomT_PositionType\").hide();\r\n " +
                             "   </script>\r\n");


            #line 174 "..\..\Views\T_PositionType\Details.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\t\t\t</div> \r\n\t\t\t</div><div");

            WriteLiteral(" class=\"clearfix\"");

            WriteLiteral(" style=\"clear:both\"");

            WriteLiteral("></div>\r\n\t</div>    \r\n<div");

            WriteLiteral(" class=\"tab-pane fade in\"");

            WriteLiteral(" id=\"T_TypeOfPosition\"");

            WriteLiteral(">\r\n");


            #line 179 "..\..\Views\T_PositionType\Details.cshtml"


            #line default
            #line hidden

            #line 179 "..\..\Views\T_PositionType\Details.cshtml"
            if (User.CanView("T_Position"))
            {
                // Html.RenderAction("Index", "T_Position", new {RenderPartial=true, HostingEntity = "T_PositionType", HostingEntityID = @Model.Id, AssociatedType = "T_TypeOfPosition" });
            }


            #line default
            #line hidden
            WriteLiteral("  </div>\r\n<div");

            WriteLiteral(" class=\"tab-pane fade in\"");

            WriteLiteral(" id=\"JournalEntryToT_PositionTypeRelation\"");

            WriteLiteral(">\r\n");


            #line 185 "..\..\Views\T_PositionType\Details.cshtml"


            #line default
            #line hidden

            #line 185 "..\..\Views\T_PositionType\Details.cshtml"
            if (User.CanView("JournalEntry"))
            {
                //	Html.RenderAction("Index", "JournalEntry", new { RenderPartial = true, HostingEntity = "T_PositionType", HostingEntityID = @Model.Id, AssociatedType = "JournalEntry" });
            }


            #line default
            #line hidden
            WriteLiteral("  </div>\r\n\t</div> <!-- /tab-content --><br />\r\n\r\n<br/>\r\n</div>\r\n \r\n");
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(90, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"

            ViewBag.Title = "Index";


#line default
#line hidden
            BeginContext(131, 57, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9269448ec44813fe6ec19eb09110e61cfb38748d6822", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(188, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(190, 71, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9269448ec44813fe6ec19eb09110e61cfb38748d8074", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(261, 151, true);
            WriteLiteral("\r\n<br />\r\n<br />\r\n<h2 style=\"font-family:\'Times New Roman\'; background-color:rebeccapurple; text-align:center; color:white;\">Student Information</h2>\r\n");
            EndContext();
#line 12 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
            using (Html.BeginForm("Index", "Student", FormMethod.Get))
            {
#line default
#line hidden
                BeginContext(476, 93, true);
                WriteLiteral("<br /><br />\r\n    <p style=\"margin-right:80px\" class=\"text-lg-right\">\r\n        Find by Name: ");
                EndContext();
                BeginContext(570, 61, false);
#line 16 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Html.TextBox("SearchString", ViewBag.CurrentFilter as string));

#line default
#line hidden
                EndContext();
                BeginContext(631, 115, true);
                WriteLiteral("\r\n        <input type=\"submit\" name=\"submit\" class=\"bg-secondary\" style=\"color:white\" value=\"Search\" />\r\n    </p>\r\n");
                EndContext();
#line 19 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(751, 47, true);
            WriteLiteral("\r\n<div style=\"width:90%; margin:0 auto;\">\r\n    ");
            EndContext();
            BeginContext(799, 128, false);
#line 23 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
            Write(Html.ActionLink("Create New Student", "Create", "Student", htmlAttributes: new { @class = "btn btn-primary", @role = "button" }));

#line default
#line hidden
            EndContext();
            BeginContext(927, 284, true);
            WriteLiteral(@"

    <div style=""padding-top:10px;"">


        <table class=""table table-striped table-bordered"" id=""myDataTable"" style="""">
            <thead>
                <tr style=""background-color: rebeccapurple; color:white"">
                    <th>ID</th>
                    <th>");
            EndContext();
            BeginContext(1212, 75, false);
#line 32 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
            Write(Html.ActionLink("Name", "Index", new { sortOrder = ViewBag.SortNameParam }));

#line default
#line hidden
            EndContext();
            BeginContext(1287, 147, true);
            WriteLiteral("</th>\r\n                    <th>Date Of Birth</th>\r\n                    <th>Email</th>\r\n                    <th>Phone</th>\r\n                    <th>");
            EndContext();
            BeginContext(1435, 76, false);
#line 36 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
            Write(Html.ActionLink("CourseFee", "Index", new { sortOrder = ViewBag.CourseFee }));

#line default
#line hidden
            EndContext();
            BeginContext(1511, 223, true);
            WriteLiteral("</th>\r\n                    <th>Course</th>\r\n                    <th>Image</th>\r\n                    <th colspan=\"3\" style=\"text-align:center\">Action</th>\r\n\r\n                </tr>\r\n            </thead>\r\n            <tbody>\r\n");
            EndContext();
#line 44 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
            foreach (var item in Model)
            {
                var photoPath = "~/Images/" + (item.ImageUrl ?? "no.png");

#line default
#line hidden
                BeginContext(1879, 46, true);
                WriteLiteral("                <tr>\r\n                    <td>");
                EndContext();
                BeginContext(1926, 36, false);
#line 48 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Html.DisplayFor(p => item.StudentID));

#line default
#line hidden
                EndContext();
                BeginContext(1962, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(1994, 31, false);
#line 49 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Html.DisplayFor(p => item.Name));

#line default
#line hidden
                EndContext();
                BeginContext(2025, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2057, 59, false);
#line 50 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Convert.ToString(String.Format("{0:MM/dd/yyyy}", item.DoB)));

#line default
#line hidden
                EndContext();
                BeginContext(2116, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2148, 32, false);
#line 51 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Html.DisplayFor(p => item.Email));

#line default
#line hidden
                EndContext();
                BeginContext(2180, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2212, 32, false);
#line 52 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Html.DisplayFor(p => item.Phone));

#line default
#line hidden
                EndContext();
                BeginContext(2244, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2276, 36, false);
#line 53 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Html.DisplayFor(p => item.CourseFee));

#line default
#line hidden
                EndContext();
                BeginContext(2312, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2344, 37, false);
#line 54 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Html.DisplayFor(p => item.CourseName));

#line default
#line hidden
                EndContext();
                BeginContext(2381, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2412, 73, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9269448ec44813fe6ec19eb09110e61cfb38748d16280", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ImageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ImageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ImageTagHelper);
                BeginWriteTagHelperAttribute();
#line 55 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                WriteLiteral(photoPath);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_ImageTagHelper.Src = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("src", __Microsoft_AspNetCore_Mvc_TagHelpers_ImageTagHelper.Src, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
#line 55 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ImageTagHelper.AppendVersion = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-append-version", __Microsoft_AspNetCore_Mvc_TagHelpers_ImageTagHelper.AppendVersion, 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(2485, 7, true);
                WriteLiteral("</td>\r\n");
                EndContext();
                BeginContext(2574, 24, true);
                WriteLiteral("                    <td>");
                EndContext();
                BeginContext(2599, 130, false);
#line 57 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Html.ActionLink("Edit", "Edit", new { id = item.StudentID }, htmlAttributes: new { @class = "btn btn-primary", @role = "button" }));

#line default
#line hidden
                EndContext();
                BeginContext(2729, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2761, 133, false);
#line 58 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Html.ActionLink("Delete", "Delete", new { id = item.StudentID }, htmlAttributes: new { @class = "btn btn-danger", @role = "button" }));

#line default
#line hidden
                EndContext();
                BeginContext(2894, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2926, 133, false);
#line 59 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
                Write(Html.ActionLink("Details", "Details", new { id = item.StudentID }, htmlAttributes: new { @class = "btn btn-info", @role = "button" }));

#line default
#line hidden
                EndContext();
                BeginContext(3059, 7, true);
                WriteLiteral("</td>\r\n");
                EndContext();
                BeginContext(3208, 23, true);
                WriteLiteral("                </tr>\r\n");
                EndContext();
#line 62 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(3250, 65, true);
            WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n\r\n\r\n    Page ");
            EndContext();
            BeginContext(3317, 51, false);
#line 68 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
            Write(Model.PageCount < Model.PageNumber?0:Model.PageNumber);

#line default
#line hidden
            EndContext();
            BeginContext(3369, 4, true);
            WriteLiteral(" of ");
            EndContext();
            BeginContext(3374, 15, false);
#line 68 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
            Write(Model.PageCount);

#line default
#line hidden
            EndContext();
            BeginContext(3389, 93, true);
            WriteLiteral("\r\n    <div style=\"background-color:palegreen; max-width:150px; text-align:center;\">\r\n        ");
            EndContext();
            BeginContext(3483, 55, false);
#line 70 "D:\Mashud\Git_Project\Project\UpdateProject\SchoolManagementCoreSln\SchoolManagementCore\Views\Student\Index.cshtml"
            Write(Html.ActionLink("Go to Course", "CourseList", "Course"));

#line default
#line hidden
            EndContext();
            BeginContext(3538, 20, true);
            WriteLiteral("\r\n    </div>\r\n\r\n\r\n\r\n");
            EndContext();
            BeginContext(3765, 53, true);
            WriteLiteral("\r\n    <div id=\"partialDiv\">\r\n\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
            BeginContext(3818, 51, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9269448ec44813fe6ec19eb09110e61cfb38748d22283", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(3869, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(3871, 55, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9269448ec44813fe6ec19eb09110e61cfb38748d23463", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(3926, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(3928, 60, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9269448ec44813fe6ec19eb09110e61cfb38748d24643", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(3988, 517, true);
            WriteLiteral(@"



<script>
    function DetailsRecord(StudentID) {
        $.ajax({
            url: ""/Student/Details?StudentID="" + StudentID,
            type: 'GET',
            data: '',
            contentType: 'application/json; charset=utf-8',
            success: function (data) {
                $('#partialDiv').show();
                $('#partialDiv').html(data);
            },
            error: function () {
                alert('Error Occured.');
            }
        })
    }
</script>


");
            EndContext();
        }
コード例 #18
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"

            Layout = "_Layout";

#line default
#line hidden
            BeginContext(32, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(110, 73, true);
            WriteLiteral("\r\n<div class=\"seattleIndex\">\r\n\r\n    <h1>List of Areas in Seattle</h1>\r\n\r\n");
            EndContext();
#line 12 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"
            if (TempData.ContainsKey("ErrorMessage"))
            {
#line default
#line hidden
                BeginContext(234, 24, true);
                WriteLiteral("    <h3>Error message: \"");
                EndContext();
                BeginContext(259, 24, false);
#line 13 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"
                Write(TempData["ErrorMessage"]);

#line default
#line hidden
                EndContext();
                BeginContext(283, 8, true);
                WriteLiteral("\"</h3>\r\n");
                EndContext();
#line 14 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(298, 4, true);
            WriteLiteral("    ");
            EndContext();
#line 15 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"
            if (Model.Count == 0)
            {
#line default
#line hidden
                BeginContext(332, 47, true);
                WriteLiteral("        <h3>No Area have been added yet.</h3>\r\n");
                EndContext();
#line 18 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"
            }

            else
            {
#line default
#line hidden
                BeginContext(405, 32, true);
                WriteLiteral("        <div id=\"listOfAreas\">\r\n");
                EndContext();
#line 23 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"
                foreach (Seattle seattle in Model)
                {
#line default
#line hidden
                    BeginContext(492, 16, true);
                    WriteLiteral("            <h3>");
                    EndContext();
                    BeginContext(509, 79, false);
#line 25 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"
                    Write(Html.ActionLink($"{seattle.AreaName}", "Details", new { id = seattle.SeattleId }));

#line default
#line hidden
                    EndContext();
                    BeginContext(588, 7, true);
                    WriteLiteral("</h3>\r\n");
                    EndContext();
#line 26 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(606, 16, true);
                WriteLiteral("        </div>\r\n");
                EndContext();
#line 28 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(629, 3, true);
            WriteLiteral("<p>");
            EndContext();
            BeginContext(633, 41, false);
#line 29 "C:\Users\Jiwon Han\desktop\coding\c#\BestRestaurant-Solution\BestRestaurant\Views\Seattle\Index.cshtml"
            Write(Html.ActionLink("Add new area", "Create"));

#line default
#line hidden
            EndContext();
            BeginContext(674, 12, true);
            WriteLiteral("</p>\r\n</div>");
            EndContext();
        }
コード例 #19
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(42, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "/Users/nurgi17__/Desktop/Study/courseProject/courseProject/Views/UserAnswers/Details.cshtml"

            Layout = "~/Views/Shared/_Layout.cshtml";

#line default
#line hidden
            BeginContext(98, 29, true);
            WriteLiteral("\r\n<!DOCTYPE html>\r\n\r\n<html>\r\n");
            EndContext();
            BeginContext(127, 162, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5b9852ed8949410cb62d40dbf2de2973", async() => {
                BeginContext(133, 93, true);
                WriteLiteral("\r\n    <meta name=\"viewport\" content=\"width=device-width\" />\r\n    <title>Details</title>\r\n    ");
                EndContext();
                BeginContext(226, 54, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "2b89c2496a834c32b7905f90f6e7ac92", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(280, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(289, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(291, 790, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5579ce6d0f3945b5b3edef54514e086a", async() => {
                BeginContext(297, 108, true);
                WriteLiteral("\r\n\r\n<div>\r\n    <h4>User_Answers</h4>\r\n    <hr />\r\n    <dl class=\"dl-horizontal\">\r\n        <dt>\r\n            ");
                EndContext();
                BeginContext(406, 40, false);
#line 22 "/Users/nurgi17__/Desktop/Study/courseProject/courseProject/Views/UserAnswers/Details.cshtml"
                Write(Html.DisplayNameFor(model => model.User));

#line default
#line hidden
                EndContext();
                BeginContext(446, 43, true);
                WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
                EndContext();
                BeginContext(490, 46, false);
#line 25 "/Users/nurgi17__/Desktop/Study/courseProject/courseProject/Views/UserAnswers/Details.cshtml"
                Write(Html.DisplayFor(model => model.User.Full_Name));

#line default
#line hidden
                EndContext();
                BeginContext(536, 43, true);
                WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
                EndContext();
                BeginContext(580, 42, false);
#line 28 "/Users/nurgi17__/Desktop/Study/courseProject/courseProject/Views/UserAnswers/Details.cshtml"
                Write(Html.DisplayNameFor(model => model.Survey));

#line default
#line hidden
                EndContext();
                BeginContext(622, 43, true);
                WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
                EndContext();
                BeginContext(666, 47, false);
#line 31 "/Users/nurgi17__/Desktop/Study/courseProject/courseProject/Views/UserAnswers/Details.cshtml"
                Write(Html.DisplayFor(model => model.Survey.Question));

#line default
#line hidden
                EndContext();
                BeginContext(713, 43, true);
                WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
                EndContext();
                BeginContext(757, 42, false);
#line 34 "/Users/nurgi17__/Desktop/Study/courseProject/courseProject/Views/UserAnswers/Details.cshtml"
                Write(Html.DisplayNameFor(model => model.Answer));

#line default
#line hidden
                EndContext();
                BeginContext(799, 43, true);
                WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
                EndContext();
                BeginContext(843, 38, false);
#line 37 "/Users/nurgi17__/Desktop/Study/courseProject/courseProject/Views/UserAnswers/Details.cshtml"
                Write(Html.DisplayFor(model => model.Answer));

#line default
#line hidden
                EndContext();
                BeginContext(881, 47, true);
                WriteLiteral("\r\n        </dd>\r\n    </dl>\r\n</div>\r\n<div>\r\n    ");
                EndContext();
                BeginContext(929, 89, false);
#line 42 "/Users/nurgi17__/Desktop/Study/courseProject/courseProject/Views/UserAnswers/Details.cshtml"
                Write(Html.ActionLink("Edit", "Edit", new { UserId = Model.UserId, SurveyId = Model.SurveyId }));

#line default
#line hidden
                EndContext();
                BeginContext(1018, 8, true);
                WriteLiteral(" |\r\n    ");
                EndContext();
                BeginContext(1026, 38, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1d883b17141947d1936e0644bf671f76", async() => {
                    BeginContext(1048, 12, true);
                    WriteLiteral("Back to List");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_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(1064, 10, true);
                WriteLiteral("\r\n</div>\r\n");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1081, 11, true);
            WriteLiteral("\r\n</html>\r\n");
            EndContext();
        }
コード例 #20
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(45, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"

            ViewData["Title"] = "Create";

#line default
#line hidden
            BeginContext(89, 103, true);
            WriteLiteral("\r\n<h2>Create</h2>\r\n\r\n<h4>Producto</h4>\r\n<hr />\r\n<div class=\"row\">\r\n    <div class=\"col-md-4\">\r\n        ");
            EndContext();
            BeginContext(192, 1089, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7fe1ead66fc840c1aaeb706b75813708", async() => {
                BeginContext(218, 14, true);
                WriteLiteral("\r\n            ");
                EndContext();
                BeginContext(232, 66, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "29852c324ecb482ab4629ceb2b9833da", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
#line 14 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(298, 56, true);
                WriteLiteral("\r\n            <div class=\"form-group\">\r\n                ");
                EndContext();
                BeginContext(354, 52, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9e3e79aef9b2404cadd42d2f97bc3d8e", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 16 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Name);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, 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(406, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(424, 45, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "164c2f7549cf4d71984ac6537585407d", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 17 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Name);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(469, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(487, 59, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ad783d50a0794c8382e3e6f9bb1b9eaf", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#line 18 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Name);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(546, 76, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-group\">\r\n                ");
                EndContext();
                BeginContext(622, 59, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc1b6c4e15d4416fb310783b4a223101", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 21 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.description);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, 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(681, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(699, 52, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "66383459c6274557bd0552465eed1e2c", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 22 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.description);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(751, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(769, 66, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "921467c3ca0142e8b682687223e56c46", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#line 23 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.description);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(835, 76, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-group\">\r\n                ");
                EndContext();
                BeginContext(911, 53, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "09c831c5e2c14eda8cfc06a90f8830ff", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 26 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.price);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, 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(964, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(982, 46, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "db9918abf71344ed9b593d0f5f94f8bc", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 27 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.price);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1028, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(1046, 60, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "887f75ff8de04051890409a5ba77203d", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper);
#line 28 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.price);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1106, 168, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"form-group\">\r\n                <input type=\"submit\" value=\"Create\" class=\"btn btn-default\" />\r\n            </div>\r\n        ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_3.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1281, 35, true);
            WriteLiteral("\r\n    </div>\r\n</div>\r\n\r\n<div>\r\n    ");
            EndContext();
            BeginContext(1317, 52, false);
#line 38 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
            Write(Html.ActionLink("Regresar", "Todos", new { id = 1 }));

#line default
#line hidden
            EndContext();
            BeginContext(1369, 13, true);
            WriteLiteral(";\r\n</div>\r\n\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(1400, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 42 "C:\Users\Curso\source\repos\NetCoreUserInterface\NetCoreUserInterface\Views\Producto\Create.cshtml"
                await Html.RenderPartialAsync("_ValidationScriptsPartial");

#line default
#line hidden
            }
                          );
        }
コード例 #21
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\WebAPIs\LoginPage\LoginPage\Views\Home\DisplayAllEmp.cshtml"

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

#line default
#line hidden
            BeginContext(92, 1263, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ff7288568c4a4a678d470b818865bae7", async() => {
                BeginContext(131, 251, true);
                WriteLiteral("\r\n    <div class=\"form-horizontal\" style=\"padding-left:400px\">\r\n            <h1>Employee List</h1>\r\n    </div>\r\n    <table class=\"table table-bordered\" style=\"width:600px\">\r\n        <thead>\r\n            <tr>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(383, 39, false);
#line 13 "D:\WebAPIs\LoginPage\LoginPage\Views\Home\DisplayAllEmp.cshtml"
                Write(Html.DisplayNameFor(model => model._id));

#line default
#line hidden
                EndContext();
                BeginContext(422, 67, true);
                WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
                EndContext();
                BeginContext(490, 40, false);
#line 16 "D:\WebAPIs\LoginPage\LoginPage\Views\Home\DisplayAllEmp.cshtml"
                Write(Html.DisplayNameFor(model => model.name));

#line default
#line hidden
                EndContext();
                BeginContext(530, 113, true);
                WriteLiteral("\r\n                </th>\r\n                <th>Actions</th>\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n");
                EndContext();
#line 22 "D:\WebAPIs\LoginPage\LoginPage\Views\Home\DisplayAllEmp.cshtml"
                foreach (var item in Model)
                {
#line default
#line hidden
                    BeginContext(700, 72, true);
                    WriteLiteral("                <tr>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(773, 38, false);
#line 26 "D:\WebAPIs\LoginPage\LoginPage\Views\Home\DisplayAllEmp.cshtml"
                    Write(Html.DisplayFor(modelItem => item._id));

#line default
#line hidden
                    EndContext();
                    BeginContext(811, 79, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(891, 39, false);
#line 29 "D:\WebAPIs\LoginPage\LoginPage\Views\Home\DisplayAllEmp.cshtml"
                    Write(Html.DisplayFor(modelItem => item.name));

#line default
#line hidden
                    EndContext();
                    BeginContext(930, 79, true);
                    WriteLiteral("\r\n                    </td>\r\n                    <td>\r\n                        ");
                    EndContext();
                    BeginContext(1010, 57, false);
#line 32 "D:\WebAPIs\LoginPage\LoginPage\Views\Home\DisplayAllEmp.cshtml"
                    Write(Html.ActionLink("Edit", "Edit", new { name = item.name }));

#line default
#line hidden
                    EndContext();
                    BeginContext(1067, 28, true);
                    WriteLiteral(" |\r\n                        ");
                    EndContext();
                    BeginContext(1096, 63, false);
#line 33 "D:\WebAPIs\LoginPage\LoginPage\Views\Home\DisplayAllEmp.cshtml"
                    Write(Html.ActionLink("Details", "Details", new { name = item.name }));

#line default
#line hidden
                    EndContext();
                    BeginContext(1159, 28, true);
                    WriteLiteral(" |\r\n                        ");
                    EndContext();
                    BeginContext(1188, 61, false);
#line 34 "D:\WebAPIs\LoginPage\LoginPage\Views\Home\DisplayAllEmp.cshtml"
                    Write(Html.ActionLink("Delete", "Delete", new { name = item.name }));

#line default
#line hidden
                    EndContext();
                    BeginContext(1249, 52, true);
                    WriteLiteral("\r\n                    </td>\r\n                </tr>\r\n");
                    EndContext();
#line 37 "D:\WebAPIs\LoginPage\LoginPage\Views\Home\DisplayAllEmp.cshtml"
                }

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

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1355, 6, true);
            WriteLiteral("\r\n    ");
            EndContext();
        }
コード例 #22
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(42, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"

            ViewData["Title"] = "Details";

#line default
#line hidden
            BeginContext(87, 130, true);
            WriteLiteral("\r\n<h2>Details</h2>\r\n\r\n<div>\r\n    <h4>Product</h4>\r\n    <hr />\r\n    <dl class=\"dl-horizontal\">       \r\n\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(218, 41, false);
#line 15 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.Brand));

#line default
#line hidden
            EndContext();
            BeginContext(259, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(303, 37, false);
#line 18 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayFor(model => model.Brand));

#line default
#line hidden
            EndContext();
            BeginContext(340, 43, true);
            WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(384, 41, false);
#line 21 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.Title));

#line default
#line hidden
            EndContext();
            BeginContext(425, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(469, 37, false);
#line 24 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayFor(model => model.Title));

#line default
#line hidden
            EndContext();
            BeginContext(506, 43, true);
            WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(550, 45, false);
#line 27 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.IsInStock));

#line default
#line hidden
            EndContext();
            BeginContext(595, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(639, 41, false);
#line 30 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayFor(model => model.IsInStock));

#line default
#line hidden
            EndContext();
            BeginContext(680, 43, true);
            WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(724, 47, false);
#line 33 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.Description));

#line default
#line hidden
            EndContext();
            BeginContext(771, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(815, 43, false);
#line 36 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayFor(model => model.Description));

#line default
#line hidden
            EndContext();
            BeginContext(858, 43, true);
            WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(902, 41, false);
#line 39 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.Price));

#line default
#line hidden
            EndContext();
            BeginContext(943, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(987, 37, false);
#line 42 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayFor(model => model.Price));

#line default
#line hidden
            EndContext();
            BeginContext(1024, 43, true);
            WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(1068, 44, false);
#line 45 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.ImageUrl));

#line default
#line hidden
            EndContext();
            BeginContext(1112, 83, true);
            WriteLiteral("\r\n            </dt>\r\n               <dd class=\"col-sm-10\">\r\n                   <img");
            EndContext();
            BeginWriteAttribute("src", " src=\"", 1195, "\"", 1229, 1);
#line 48 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            WriteAttributeValue("", 1201, Url.Content(Model.ImageUrl), 1201, 28, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(1230, 117, true);
            WriteLiteral(" alt=\"Image\" />\r\n\r\n               </dd>\r\n            <dt class=\"col-sm10\">\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(1348, 40, false);
#line 54 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayFor(model => model.ImageUrl));

#line default
#line hidden
            EndContext();
            BeginContext(1388, 43, true);
            WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(1432, 47, false);
#line 57 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.HasDiscount));

#line default
#line hidden
            EndContext();
            BeginContext(1479, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(1523, 43, false);
#line 60 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.DisplayFor(model => model.HasDiscount));

#line default
#line hidden
            EndContext();
            BeginContext(1566, 47, true);
            WriteLiteral("\r\n        </dd>\r\n    </dl>\r\n</div>\r\n<div>\r\n    ");
            EndContext();
            BeginContext(1614, 54, false);
#line 65 "C:\Users\Andrei Coman\Documents\AfaceriElectronice\_PiesaDeSchimb\_PiesaDeSchimb\Views\Product\Details.cshtml"
            Write(Html.ActionLink("Edit", "Edit", new { id = Model.Id }));

#line default
#line hidden
            EndContext();
            BeginContext(1668, 8, true);
            WriteLiteral(" |\r\n    ");
            EndContext();
            BeginContext(1676, 38, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2b8e8fdf72bf400bae9572f9c3350244", async() => {
                BeginContext(1698, 12, true);
                WriteLiteral("Back to List");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1714, 10, true);
            WriteLiteral("\r\n</div>\r\n");
            EndContext();
        }
コード例 #23
0
        public override void Execute()
        {
            #line 3 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"

            var ActionNameUrl = "Index";
            if (HttpContext.Current.Request.RequestContext.RouteData.Values["action"].ToString().ToUpper() == "FSEARCH")
            {
                ActionNameUrl = "FSearch";
            }


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 10 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
            Write(Scripts.Render("~/bundles/select2js"));


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 11 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
            Write(Styles.Render("~/Content/select2css"));


            #line default
            #line hidden
            WriteLiteral(@"
<script>
	$("".js-example-basic-multiple"").select2({ placeholder: ""Select/Search"", allowClear: true });
    function SetSingle(source, id, DisplayValue) {
        var dropdown = ($('#PopupBulkOperationLabel').attr('class'));
        if ($('#' + dropdown + ' option[value=""' + id + '""]').length == 0) {
            $('#' + dropdown).append($('<option selected=\'selected\'></option>').val(id).html(DisplayValue));
            $(""#"" + dropdown).trigger('chosen:updated');
        }
        $(""#"" + dropdown).val(id);
        $(""#"" + dropdown).trigger('chosen:updated');
		 $(""#"" + dropdown).change();
        $(""#closePopupBulkOperation"").click();
    }
	function Update(source, id, DisplayValue) {
        val1 = $(""#idvalues"").val();
        if (source.checked) {
            $(""#idvalues"").val(val1 + "","" + id);
        }
        else {
            $(""#idvalues"").val(val1.replace("","" + id, """"));
        }
    }
    function UpdateRecords() {
        var selectedvalues = $(""#idvalues"").val().substr(1).split("","");
        var url1 = '");


            #line 36 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
            Write(Url.Action("BulkAssociate"));


            #line default
            #line hidden
            WriteLiteral("\';\r\n\t\t var entity = \'T_ShiftTime\';\r\n        var host = \'");


            #line 38 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
            Write(ViewData["AssociatedType"]);


            #line default
            #line hidden
            WriteLiteral("\';\r\n        $.ajax({\r\n            type: \"POST\",\r\n            data: { ids: selecte" +
                         "dvalues, AssociatedType: \'");


            #line 41 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
            Write(ViewData["AssociatedType"]);


            #line default
            #line hidden
            WriteLiteral("\', HostingEntity: \'");


            #line 41 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
            Write(ViewData["HostingEntity"]);


            #line default
            #line hidden
            WriteLiteral("\', HostingEntityID: \'");


            #line 41 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
            Write(ViewData["HostingEntityID"]);


            #line default
            #line hidden
            WriteLiteral(@"' },
            url: url1,
			complete : function (msg) {
                $(""#closePopupBulkOperation"").click();
            },
            success: function (msg) {
				 if (host != undefined && host.length > 0 && $('#' + host).length > 0) {
                    $('#' + entity + 'SearchCancel', $('#' + host)).click();
                    $('#dvcnt_' + host).load(location.href + "" #dvcnt_"" + host);
                }
            }
        });
    }
</script>
");


            #line 55 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
            if (ViewData["BulkAssociate"] != null)
            {
            #line default
            #line hidden

            #line 57 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                Write(Html.Hidden("idvalues"));


            #line default
            #line hidden

            #line 57 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("<div");

            WriteLiteral(" id=\"T_ShiftTime\"");

            WriteLiteral(" class=\"T_ShiftTime\"");

            WriteLiteral(">\r\n");


            #line 60 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"


            #line default
            #line hidden

            #line 60 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
            if (ViewBag.ColumnMapping == null && ViewBag.ImportError == null && ViewBag.ConfirmImportData == null)
            {
            #line default
            #line hidden
                WriteLiteral(@"		<style>
            .table-responsive > .fixed-column {
                position: absolute;
                display: block;
                width: auto;
                border: 0px solid transparent;
                border-top: 1px solid #c3ddec;
            }
            .fixed-column th {
                background: #fff;
            }
            .fixed-column td {
                background: #fff;
            }
        </style>
");


            #line 77 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"



            #line default
            #line hidden
                WriteLiteral("\t\t <script");

                WriteLiteral(" type=\"text/javascript\"");

                WriteLiteral(@">
            $(document).ready(function () {
                $("".pagination a"").click(function (e) {
                    PaginationClick(e, 'T_ShiftTime');
                })

                $(""#dvPopupBulkOperation input[name=SearchStringT_ShiftTime]"").keypress(function (e) {
                    if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) {

                        $('#dvPopupBulkOperation').find(""a.bulk"").bind(""click"", (function () {
                        }));
                        $('#dvPopupBulkOperation').find(""a.bulk"").trigger(""click"");
                        return false;
                    }
                })
            });
        </script>
");


            #line 96 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"



            #line default
            #line hidden

            #line 142 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"



            #line default
            #line hidden
                WriteLiteral("        <div");

                WriteLiteral(" class=\"row\"");

                WriteLiteral(">\r\n            <div");

                WriteLiteral(" class=\"col-md-12 col-sm-12 col-sx-12\"");

                WriteLiteral(">\r\n                <div");

                WriteLiteral(" class=\"panel panel-default\"");

                WriteLiteral(">\r\n                    <div");

                WriteLiteral(" class=\"panel-heading clearfix\"");

                WriteLiteral(" style=\"margin:0px; padding:8px;\"");

                WriteLiteral(">\r\n                        <div");

                WriteLiteral(" class=\"pull-right\"");

                WriteLiteral(" style=\"width:200px;\"");

                WriteLiteral(">\r\n                            <div");

                WriteLiteral(" class=\"input-group\"");

                WriteLiteral(">\r\n");

                WriteLiteral("                                ");


            #line 149 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                Write(Html.TextBox("SearchStringT_ShiftTime", ViewBag.CurrentFilter as string, null, new { @class = "form-control fixsearchbox", @placeholder = "Search" }));


            #line default
            #line hidden
                WriteLiteral("\r\n                                <div");

                WriteLiteral(" class=\"input-group-btn\"");

                WriteLiteral(">\r\n                                    <a");

                WriteLiteral(" id=\"T_ShiftTimeSearch\"");

                WriteAttribute("onclick", Tuple.Create(" onclick=\"", 6712), Tuple.Create("\"", 7235)
                               , Tuple.Create(Tuple.Create("", 6722), Tuple.Create("SearchClick(event,", 6722), true)
                               , Tuple.Create(Tuple.Create(" ", 6740), Tuple.Create("\'T_ShiftTime\',", 6741), true)
                               , Tuple.Create(Tuple.Create(" ", 6755), Tuple.Create("\'", 6756), true)

            #line 151 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                               , Tuple.Create(Tuple.Create("", 6757), Tuple.Create <System.Object, System.Int32>(Html.Raw(Url.Action("Index", "T_ShiftTime", new { BulkAssociate = ViewData["BulkAssociate"], caller = ViewData["caller"], IsFilter = ViewData["IsFilter"], IsDeepSearch = false, searchString = "_SearchString", HostingEntity = Convert.ToString(ViewData["HostingEntity"]), BulkOperation = ViewData["BulkOperation"], HostingEntityID = Convert.ToString(ViewData["HostingEntityID"]), AssociatedType = Convert.ToString(ViewData["AssociatedType"]), SearchTimeStamp = DateTime.Now }))

            #line default
            #line hidden
                                                                                                                 , 6757), false)
                               , Tuple.Create(Tuple.Create("", 7232), Tuple.Create("\');", 7232), true)
                               );

                WriteLiteral(" data-original-title=\"Grid Search\"");

                WriteLiteral(" class=\"btn btn-default btn-default tip-top bulk\"");

                WriteLiteral(" style=\"padding:3px 5px;\"");

                WriteLiteral("><span");

                WriteLiteral(" class=\"fam-zoom\"");

                WriteLiteral("></span></a>\r\n                                    <button");

                WriteLiteral(" id=\"T_ShiftTimeCancel\"");

                WriteLiteral(" type=\"button\"");

                WriteLiteral(" class=\"btn btn-default btn-default collapse-data-btn tip-top\"");

                WriteAttribute("onclick", Tuple.Create(" onclick=\"", 7523), Tuple.Create("\"", 7948)
                               , Tuple.Create(Tuple.Create("", 7533), Tuple.Create("CancelSearchBulk(\'T_ShiftTime\',\'", 7533), true)

            #line 152 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                               , Tuple.Create(Tuple.Create("", 7565), Tuple.Create <System.Object, System.Int32>(Html.Raw(Url.Action("Index", "T_ShiftTime", new { caller = ViewData["caller"], BulkOperation = ViewData["BulkOperation"], IsFilter = ViewData["IsFilter"], HostingEntity = Convert.ToString(ViewData["HostingEntity"]), HostingEntityID = Convert.ToString(ViewData["HostingEntityID"]), AssociatedType = Convert.ToString(ViewData["AssociatedType"]), ClearSearchTimeStamp = DateTime.Now }))

            #line default
            #line hidden
                                                                                                                 , 7565), false)
                               , Tuple.Create(Tuple.Create("", 7946), Tuple.Create("\')", 7946), true)
                               );

                WriteLiteral(" data-original-title=\"Clear Search\"");

                WriteLiteral(" data-placement=\"top\"");

                WriteLiteral(" style=\"padding:3px 5px;\"");

                WriteLiteral(">\r\n                                        <span");

                WriteLiteral(" class=\"fam-delete\"");

                WriteLiteral("></span>\r\n                                    </button>\r\n                        " +
                             "            <button");

                WriteLiteral(" id=\"T_ShiftTimeSearchCancel\"");

                WriteLiteral(" type=\"button\"");

                WriteLiteral(" class=\"btn btn-default btn-default collapse-data-btn tip-top\"");

                WriteAttribute("onclick", Tuple.Create(" onclick=\"", 8302), Tuple.Create("\"", 8771)
                               , Tuple.Create(Tuple.Create("", 8312), Tuple.Create("CancelSearchBulk(\'T_ShiftTime\',\'", 8312), true)

            #line 155 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                               , Tuple.Create(Tuple.Create("", 8344), Tuple.Create <System.Object, System.Int32>(Html.Raw(Url.Action("Index", "T_ShiftTime", new { BulkAssociate = ViewData["BulkAssociate"], caller = ViewData["caller"], IsFilter = ViewData["IsFilter"], HostingEntity = Convert.ToString(ViewData["HostingEntity"]), BulkOperation = ViewData["BulkOperation"], HostingEntityID = Convert.ToString(ViewData["HostingEntityID"]), AssociatedType = Convert.ToString(ViewData["AssociatedType"]), ClearSearchTimeStamp = DateTime.Now }))

            #line default
            #line hidden
                                                                                                                 , 8344), false)
                               , Tuple.Create(Tuple.Create("", 8769), Tuple.Create("\')", 8769), true)
                               );

                WriteLiteral(" data-original-title=\"Refresh Grid\"");

                WriteLiteral(" data-placement=\"top\"");

                WriteLiteral(" style=\"padding:3px 5px;\"");

                WriteLiteral(">\r\n                                        <span");

                WriteLiteral(" class=\"fam-arrow-refresh\"");

                WriteLiteral("></span>\r\n                                    </button>\r\n                        " +
                             "        </div>\r\n                            </div>\r\n                        </di" +
                             "v>\r\n                    </div>\r\n                    <div");

                WriteLiteral(" class=\"panel-body\"");

                WriteLiteral(" style=\"margin:0px; padding:8px;\"");

                WriteLiteral(">\r\n                        <div");

                WriteLiteral(" id=\"Des_Table\"");

                WriteLiteral(" class=\"table-responsive\"");

                WriteLiteral(" style=\"overflow-x:auto;\"");

                WriteLiteral(">\r\n                            <table");

                WriteLiteral(" class=\"table table-striped table-bordered table-hover table-condensed\"");

                WriteLiteral(">\r\n                                <thead>\r\n                                    <" +
                             "tr>\r\n                                        <th");

                WriteLiteral(" class=\"col2\"");

                WriteLiteral(">\r\n                                            Select\r\n                          " +
                             "              </th>\r\n");


            #line 170 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"


            #line default
            #line hidden

            #line 170 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                if (User.CanView("T_ShiftTime"))
                {
            #line default
            #line hidden
                    WriteLiteral("                                            <th");

                    WriteLiteral(" class=\"col2\"");

                    WriteLiteral(">\r\n");

                    WriteLiteral("                                                ");


            #line 173 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    Write(Html.ActionLink("Display Value", ActionNameUrl, "T_ShiftTime", getSortHtmlAttributes("DisplayValue", false, null, false), new { @onclick = "SortLinkClick(event,'T_ShiftTime');" }));


            #line default
            #line hidden
                    WriteLiteral("\r\n");


            #line 174 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"


            #line default
            #line hidden

            #line 174 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    if (ViewBag.IsAsc == "DESC" && ViewBag.CurrentSort == "DisplayValue")
                    {
            #line default
            #line hidden
                        WriteLiteral("<i");

                        WriteLiteral(" class=\"fa fa-sort-desc\"");

                        WriteLiteral("></i>");


            #line 175 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    }


            #line default
            #line hidden
                    WriteLiteral("                                                ");


            #line 176 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    if (ViewBag.IsAsc == "ASC" && ViewBag.CurrentSort == "DisplayValue")
                    {
            #line default
            #line hidden
                        WriteLiteral("<i");

                        WriteLiteral(" class=\"fa fa-sort-asc\"");

                        WriteLiteral("></i>");


            #line 177 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    }


            #line default
            #line hidden
                    WriteLiteral("                                            </th>\r\n");


            #line 179 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                                    </tr>\r\n");


            #line 181 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"


            #line default
            #line hidden

            #line 181 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                foreach (var item in Model)
                {
            #line default
            #line hidden
                    WriteLiteral("                                        <tr>\r\n");


            #line 184 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"


            #line default
            #line hidden

            #line 184 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    if (Convert.ToString(ViewData["BulkOperation"]) == "multiple")
                    {
                        if (ViewData["BulkAssociate"] != null)
                        {
            #line default
            #line hidden
                            WriteLiteral("                                                    <td>\r\n                       " +
                                         "                                 <input");

                            WriteLiteral(" type=\"checkbox\"");

                            WriteAttribute("onclick", Tuple.Create(" onclick=\"", 11141), Tuple.Create("\"", 11196)
                                           , Tuple.Create(Tuple.Create("", 11151), Tuple.Create("Update(this,\'", 11151), true)

            #line 189 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                           , Tuple.Create(Tuple.Create("", 11164), Tuple.Create <System.Object, System.Int32>(item.Id

            #line default
            #line hidden
                                                                                                                              , 11164), false)
                                           , Tuple.Create(Tuple.Create("", 11172), Tuple.Create("\',\'", 11172), true)

            #line 189 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                           , Tuple.Create(Tuple.Create("", 11175), Tuple.Create <System.Object, System.Int32>(item.DisplayValue

            #line default
            #line hidden
                                                                                                                              , 11175), false)
                                           , Tuple.Create(Tuple.Create("", 11193), Tuple.Create("\');", 11193), true)
                                           );

                            WriteLiteral(" />\r\n                                                    </td>\r\n");


            #line 191 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                        }
                        else
                        {
            #line default
            #line hidden
                            WriteLiteral("                                                    <td>\r\n                       " +
                                         "                                 <input");

                            WriteLiteral(" type=\"checkbox\"");

                            WriteAttribute("onclick", Tuple.Create(" onclick=\"", 11553), Tuple.Create("\"", 11605)
                                           , Tuple.Create(Tuple.Create("", 11563), Tuple.Create("Set(this,\'", 11563), true)

            #line 195 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                           , Tuple.Create(Tuple.Create("", 11573), Tuple.Create <System.Object, System.Int32>(item.Id

            #line default
            #line hidden
                                                                                                                              , 11573), false)
                                           , Tuple.Create(Tuple.Create("", 11581), Tuple.Create("\',\'", 11581), true)

            #line 195 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                           , Tuple.Create(Tuple.Create("", 11584), Tuple.Create <System.Object, System.Int32>(item.DisplayValue

            #line default
            #line hidden
                                                                                                                              , 11584), false)
                                           , Tuple.Create(Tuple.Create("", 11602), Tuple.Create("\');", 11602), true)
                                           );

                            WriteLiteral(" />\r\n                                                    </td>\r\n");


            #line 197 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                        }
                    }
                    else
                    {
            #line default
            #line hidden
                        WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input");

                        WriteLiteral(" type=\"button\"");

                        WriteLiteral(" value=\"Select\"");

                        WriteLiteral(" class=\"btn btn-primary btn-xs\"");

                        WriteAttribute("onclick", Tuple.Create(" onclick=\"", 11962), Tuple.Create("\"", 12020)
                                       , Tuple.Create(Tuple.Create("", 11972), Tuple.Create("SetSingle(this,\'", 11972), true)

            #line 202 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                       , Tuple.Create(Tuple.Create("", 11988), Tuple.Create <System.Object, System.Int32>(item.Id

            #line default
            #line hidden
                                                                                                                          , 11988), false)
                                       , Tuple.Create(Tuple.Create("", 11996), Tuple.Create("\',\'", 11996), true)

            #line 202 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                       , Tuple.Create(Tuple.Create("", 11999), Tuple.Create <System.Object, System.Int32>(item.DisplayValue

            #line default
            #line hidden
                                                                                                                          , 11999), false)
                                       , Tuple.Create(Tuple.Create("", 12017), Tuple.Create("\');", 12017), true)
                                       );

                        WriteLiteral(" />\r\n\t\t\t\t\t\t\t\t\t\t\t\t</td> \r\n");


            #line 204 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    }


            #line default
            #line hidden
                    WriteLiteral("                                            ");


            #line 205 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    if (User.CanView("T_ShiftTime"))
                    {
            #line default
            #line hidden
                        WriteLiteral("                                                <td>\r\n");

                        WriteLiteral("                                                    ");


            #line 208 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                        Write(Html.DisplayFor(modelItem => item.DisplayValue));


            #line default
            #line hidden
                        WriteLiteral("\r\n                                                </td>\r\n");


            #line 210 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    }


            #line default
            #line hidden
                    WriteLiteral("                                        </tr>\r\n");


            #line 212 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                            </table>\r\n                        </div>\r\n           " +
                             "             <ul");

                WriteLiteral(" id=\"Mob_List\"");

                WriteLiteral(" class=\"list-group\"");

                WriteLiteral(">\r\n");


            #line 216 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"


            #line default
            #line hidden

            #line 216 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                foreach (var item in Model)
                {
            #line default
            #line hidden
                    WriteLiteral("                                <li");

                    WriteLiteral(" class=\"list-group-item\"");

                    WriteLiteral(">\r\n");


            #line 219 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"


            #line default
            #line hidden

            #line 219 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    if (User.CanView("T_ShiftTime"))
                    {
            #line default
            #line hidden
                        WriteLiteral("\t\t\t\t\t\t\t\t\t\t<p>\r\n                                            <span");

                        WriteLiteral(" class=\"text-primary\"");

                        WriteLiteral("> Select </span> : <span>\r\n");


            #line 223 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"


            #line default
            #line hidden

            #line 223 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                        if (Convert.ToString(ViewData["BulkOperation"]) == "multiple")
                        {
                            if (ViewData["BulkAssociate"] != null)
                            {
            #line default
            #line hidden
                                WriteLiteral("                                                        <input");

                                WriteLiteral(" type=\"checkbox\"");

                                WriteAttribute("onclick", Tuple.Create(" onclick=\"", 13405), Tuple.Create("\"", 13460)
                                               , Tuple.Create(Tuple.Create("", 13415), Tuple.Create("Update(this,\'", 13415), true)

            #line 227 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                               , Tuple.Create(Tuple.Create("", 13428), Tuple.Create <System.Object, System.Int32>(item.Id

            #line default
            #line hidden
                                                                                                                                  , 13428), false)
                                               , Tuple.Create(Tuple.Create("", 13436), Tuple.Create("\',\'", 13436), true)

            #line 227 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                               , Tuple.Create(Tuple.Create("", 13439), Tuple.Create <System.Object, System.Int32>(item.DisplayValue

            #line default
            #line hidden
                                                                                                                                  , 13439), false)
                                               , Tuple.Create(Tuple.Create("", 13457), Tuple.Create("\');", 13457), true)
                                               );

                                WriteLiteral(" />\r\n");


            #line 228 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                            }
                            else
                            {
            #line default
            #line hidden
                                WriteLiteral("                                                        <input");

                                WriteLiteral(" type=\"checkbox\"");

                                WriteAttribute("onclick", Tuple.Create(" onclick=\"", 13700), Tuple.Create("\"", 13752)
                                               , Tuple.Create(Tuple.Create("", 13710), Tuple.Create("Set(this,\'", 13710), true)

            #line 231 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                               , Tuple.Create(Tuple.Create("", 13720), Tuple.Create <System.Object, System.Int32>(item.Id

            #line default
            #line hidden
                                                                                                                                  , 13720), false)
                                               , Tuple.Create(Tuple.Create("", 13728), Tuple.Create("\',\'", 13728), true)

            #line 231 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                               , Tuple.Create(Tuple.Create("", 13731), Tuple.Create <System.Object, System.Int32>(item.DisplayValue

            #line default
            #line hidden
                                                                                                                                  , 13731), false)
                                               , Tuple.Create(Tuple.Create("", 13749), Tuple.Create("\');", 13749), true)
                                               );

                                WriteLiteral(" />\r\n");


            #line 232 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                            }
                        }
                        else
                        {
            #line default
            #line hidden
                            WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t<input");

                            WriteLiteral(" type=\"button\"");

                            WriteLiteral(" value=\"Select\"");

                            WriteLiteral(" class=\"btn btn-primary btn-xs\"");

                            WriteAttribute("onclick", Tuple.Create(" onclick=\"", 14031), Tuple.Create("\"", 14089)
                                           , Tuple.Create(Tuple.Create("", 14041), Tuple.Create("SetSingle(this,\'", 14041), true)

            #line 236 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                           , Tuple.Create(Tuple.Create("", 14057), Tuple.Create <System.Object, System.Int32>(item.Id

            #line default
            #line hidden
                                                                                                                              , 14057), false)
                                           , Tuple.Create(Tuple.Create("", 14065), Tuple.Create("\',\'", 14065), true)

            #line 236 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                           , Tuple.Create(Tuple.Create("", 14068), Tuple.Create <System.Object, System.Int32>(item.DisplayValue

            #line default
            #line hidden
                                                                                                                              , 14068), false)
                                           , Tuple.Create(Tuple.Create("", 14086), Tuple.Create("\');", 14086), true)
                                           );

                            WriteLiteral(" />\r\n");


            #line 237 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                        }


            #line default
            #line hidden
                        WriteLiteral("                                            </span>\r\n                            " +
                                     "            </p>\r\n");

                        WriteLiteral("                                        <p>\r\n                                    " +
                                     "        <span");

                        WriteLiteral(" class=\"text-primary\"");

                        WriteLiteral("> Display Value </span> : <span>\r\n");

                        WriteLiteral("                                                ");


            #line 242 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                        Write(Html.DisplayFor(modelItem => item.DisplayValue));


            #line default
            #line hidden
                        WriteLiteral("\r\n                                            </span>\r\n                          " +
                                     "              </p>\r\n");


            #line 245 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    }


            #line default
            #line hidden
                    WriteLiteral("                                </li>\r\n");


            #line 247 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                        </ul>\r\n");


            #line 249 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"


            #line default
            #line hidden

            #line 249 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                if (Model.Count > 0)
                {
            #line default
            #line hidden
                    WriteLiteral("                            <div");

                    WriteLiteral(" id=\"pagination\"");

                    WriteLiteral(">\r\n");

                    WriteLiteral("                                ");


            #line 252 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    Write(Html.PagedListPager(Model, page => Url.Action(ActionNameUrl, "T_ShiftTime", getSortHtmlAttributes(null, true, page, false))));


            #line default
            #line hidden
                    WriteLiteral("\r\n                                <div");

                    WriteLiteral(" class=\"fixPageSize\"");

                    WriteLiteral(">\r\n                                    Page Size :\r\n");

                    WriteLiteral("                                    ");


            #line 255 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    Write(Html.DropDownList("PageSize", new SelectList(new Dictionary <string, int> {
                        { "10", 10 }, { "20", 20 }, { "50", 50 }, { "100", 100 }
                    }, "Key", "Value"), new { @id       = "pagesizelistT_ShiftTime",
                                              @onchange = "pagesizelistChange(event,'T_ShiftTime')",
                                              @Url      = Html.Raw(@Url.Action(ActionNameUrl, "T_ShiftTime",
                                                                               getSortHtmlAttributes(ViewBag.CurrentSort, ViewBag.Pages == 1 ? false : true,
                                                                                                     null, false), null)) }));


            #line default
            #line hidden
                    WriteLiteral("\r\n                                    <span");

                    WriteLiteral(" style=\"text-align:right;\"");

                    WriteLiteral("> Total Count: ");


            #line 260 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                    Write(Model.TotalItemCount);


            #line default
            #line hidden
                    WriteLiteral("</span>\r\n                                </div>\r\n                            </di" +
                                 "v>\r\n");


            #line 263 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("                    </div>\r\n                </div>\r\n            </div>\r\n        <" +
                             "/div>\r\n");


            #line 268 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                if (ViewData["BulkAssociate"] != null)
                {
            #line default
            #line hidden
                    WriteLiteral("            <input");

                    WriteLiteral(" type=\"button\"");

                    WriteLiteral(" class=\"btn btn-primary btn-sm fixbulkbutton\"");

                    WriteAttribute("value", Tuple.Create(" value=\"", 16041), Tuple.Create("\"", 16166)
                                   , Tuple.Create(Tuple.Create("", 16049), Tuple.Create("Associate", 16049), true)
                                   , Tuple.Create(Tuple.Create(" ", 16058), Tuple.Create("with", 16059), true)

            #line 270 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                                   , Tuple.Create(Tuple.Create(" ", 16063), Tuple.Create <System.Object, System.Int32>(GeneratorBase.MVC.Models.ModelConversion.GetDisplayNameOfEntity(ViewData["HostingEntity"].ToString())

            #line default
            #line hidden
                                                                                                                       , 16064), false)
                                   );

                    WriteLiteral(" onclick=\"UpdateRecords();\"");

                    WriteLiteral(" />\r\n");


            #line 271 "..\..\Views\T_ShiftTime\BulkOperation.cshtml"
                }
            }


            #line default
            #line hidden
            WriteLiteral("</div>\r\n  \r\n");
        }
コード例 #24
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(68, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"

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

#line default
#line hidden
            BeginContext(158, 33, true);
            WriteLiteral("\r\n<h2>Perguntas</h2>\r\n\r\n<p>\r\n    ");
            EndContext();
            BeginContext(191, 37, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b7e6cde9ce8a48dc961892e842eed6c1", async() => {
                BeginContext(214, 10, true);
                WriteLiteral("Create New");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(228, 92, true);
            WriteLiteral("\r\n</p>\r\n<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(321, 38, false);
#line 17 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Id));

#line default
#line hidden
            EndContext();
            BeginContext(359, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(415, 43, false);
#line 20 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.IdAutor));

#line default
#line hidden
            EndContext();
            BeginContext(458, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(514, 45, false);
#line 23 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Descricao));

#line default
#line hidden
            EndContext();
            BeginContext(559, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(615, 41, false);
#line 26 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Ativo));

#line default
#line hidden
            EndContext();
            BeginContext(656, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(712, 47, false);
#line 29 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.DataCriacao));

#line default
#line hidden
            EndContext();
            BeginContext(759, 86, true);
            WriteLiteral("\r\n            </th>\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 35 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(877, 48, true);
                WriteLiteral("        <tr>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(926, 37, false);
#line 38 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Id));

#line default
#line hidden
                EndContext();
                BeginContext(963, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1019, 42, false);
#line 41 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.IdAutor));

#line default
#line hidden
                EndContext();
                BeginContext(1061, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1117, 44, false);
#line 44 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Descricao));

#line default
#line hidden
                EndContext();
                BeginContext(1161, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1217, 40, false);
#line 47 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Ativo));

#line default
#line hidden
                EndContext();
                BeginContext(1257, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1313, 46, false);
#line 50 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.DataCriacao));

#line default
#line hidden
                EndContext();
                BeginContext(1359, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(1415, 58, false);
#line 53 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
                Write(Html.ActionLink("Responder", "Edit", new { id = item.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(1473, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(1494, 66, false);
#line 54 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
                Write(Html.ActionLink("Resposta", "ListRespostas", new { id = item.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(1560, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(1581, 57, false);
#line 55 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
                Write(Html.ActionLink("Delete", "Delete", new { id = item.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(1638, 36, true);
                WriteLiteral("\r\n            </td>\r\n        </tr>\r\n");
                EndContext();
#line 58 "C:\Projetos\ASPNET_CORE\Perguntas_e_Respostas\01-Apresentacao\PerguntasRespostas.MVC.Ui\Views\Pergunta\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1677, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
コード例 #25
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(56, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"

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

#line default
#line hidden
            BeginContext(149, 109, true);
            WriteLiteral("<div class=\"card\">\r\n    <div class=\"card-header\">\r\n        <h2>List of Jobs</h2>\r\n\r\n        <p>\r\n            ");
            EndContext();
            BeginContext(258, 61, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e345996a267940b08530df1bb246b63a", async() => {
                BeginContext(305, 10, true);
                WriteLiteral("Create New");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(319, 243, true);
            WriteLiteral("\r\n        </p>\r\n    </div>\r\n    <div class=\"table-responsive  table-striped table-bordered card-body\">\r\n        <table class=\"table\">\r\n            <thead class=\"thead-dark\">\r\n                <tr>\r\n                    <th>\r\n                    ");
            EndContext();
            BeginContext(563, 74, false);
#line 20 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
            Write(Html.ActionLink("Code", "Index", new { sortOrder = ViewBag.CodeSortParm }));

#line default
#line hidden
            EndContext();
            BeginContext(637, 75, true);
            WriteLiteral("\r\n                    </th>\r\n                    <th>\r\n                    ");
            EndContext();
            BeginContext(713, 76, false);
#line 23 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
            Write(Html.ActionLink("Title", "Index", new { sortOrder = ViewBag.TitleSortParm }));

#line default
#line hidden
            EndContext();
            BeginContext(789, 82, true);
            WriteLiteral("       \r\n                    </th>\r\n                    <th>\r\n                    ");
            EndContext();
            BeginContext(872, 84, false);
#line 26 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
            Write(Html.ActionLink("Minimum Salary", "Index", new { sortOrder = ViewBag.MinSSortParm }));

#line default
#line hidden
            EndContext();
            BeginContext(956, 75, true);
            WriteLiteral("\r\n                    </th>\r\n                    <th>\r\n                    ");
            EndContext();
            BeginContext(1032, 84, false);
#line 29 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
            Write(Html.ActionLink("Maximum Salary", "Index", new { sortOrder = ViewBag.MaxSSortParm }));

#line default
#line hidden
            EndContext();
            BeginContext(1116, 178, true);
            WriteLiteral("\r\n                    </th>\r\n                    <th>\r\n                     Options\r\n                    </th>\r\n                </tr>\r\n            </thead>\r\n            <tbody>\r\n");
            EndContext();
#line 37 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(1359, 80, true);
                WriteLiteral("                    <tr>\r\n                        <td>\r\n                        ");
                EndContext();
                BeginContext(1440, 39, false);
#line 41 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Code));

#line default
#line hidden
                EndContext();
                BeginContext(1479, 89, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                          ");
                EndContext();
                BeginContext(1569, 40, false);
#line 44 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Title));

#line default
#line hidden
                EndContext();
                BeginContext(1609, 88, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                         ");
                EndContext();
                BeginContext(1698, 45, false);
#line 47 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Min_salary));

#line default
#line hidden
                EndContext();
                BeginContext(1743, 88, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                         ");
                EndContext();
                BeginContext(1832, 45, false);
#line 50 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Max_salary));

#line default
#line hidden
                EndContext();
                BeginContext(1877, 91, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                EndContext();
                BeginContext(1968, 112, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c9b9df00c075424ba997970868dd1300", async() => {
                    BeginContext(2072, 4, true);
                    WriteLiteral("Edit");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 53 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
                WriteLiteral(item.Id);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2080, 30, true);
                WriteLiteral("\r\n                            ");
                EndContext();
                BeginContext(2110, 118, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b6e2770678bf47a6a2cecc3947fdab75", async() => {
                    BeginContext(2217, 7, true);
                    WriteLiteral("Details");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 54 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
                WriteLiteral(item.Id);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2228, 30, true);
                WriteLiteral("\r\n                            ");
                EndContext();
                BeginContext(2258, 115, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "afa048511cae474c80976ca07ee075f6", async() => {
                    BeginContext(2363, 6, true);
                    WriteLiteral("Delete");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
                {
                    throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
                }
                BeginWriteTagHelperAttribute();
#line 55 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
                WriteLiteral(item.Id);

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

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2373, 60, true);
                WriteLiteral("\r\n                        </td>\r\n                    </tr>\r\n");
                EndContext();
#line 58 "C:\Users\lauw2\Documents\Projects\Outdoor_paradise_webapp\Outdoor_paradise_webapp\Views\Job\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2452, 58, true);
            WriteLiteral("            </tbody>\r\n        </table>\r\n    </div>\r\n</div>");
            EndContext();
        }
コード例 #26
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
            if (User.Identity.IsAuthenticated)
            {
                var isNtlm = User.Identity.AuthenticationType == "NTLM";


#line default
#line hidden
                BeginContext(108, 37, true);
                WriteLiteral("    <li class=\"dropdown\">\r\n        <a");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 145, "\"", 181, 1);
#line 6 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
                WriteAttributeValue("", 152, Url.Action("Index", "Store"), 152, 29, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(182, 192, true);
                WriteLiteral(" id=\"profile-link\" class=\"dropdown-toggle head-link\" data-toggle=\"dropdown\">Profile&nbsp;<br class=\"hidden-xs\" /><b class=\"caret\"></b></a>\r\n        <ul class=\"dropdown-menu\">\r\n            <li>");
                EndContext();
                BeginContext(375, 113, false);
#line 8 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
                Write(Html.ActionLink("Manage Account", "Index", "Manage", routeValues: null, htmlAttributes: new { title = "Manage" }));

#line default
#line hidden
                EndContext();
                BeginContext(488, 23, true);
                WriteLiteral("</li>\r\n            <li>");
                EndContext();
                BeginContext(512, 78, false);
#line 9 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
                Write(Html.ActionLink("View Orders", "Index", "Orders", new { Area = string.Empty }));

#line default
#line hidden
                EndContext();
                BeginContext(590, 7, true);
                WriteLiteral("</li>\r\n");
                EndContext();
#line 10 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
                if (!isNtlm)
                {
#line default
#line hidden
                    BeginContext(639, 18, true);
                    WriteLiteral("            <li>\r\n");
                    EndContext();
#line 14 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
                    using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm" }))
                    {
#line default
#line hidden
                        BeginContext(956, 23, false);
#line 16 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
                        Write(Html.AntiForgeryToken());

#line default
#line hidden
                        EndContext();
#line 16 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
                    }

#line default
#line hidden
                    BeginContext(1000, 117, true);
                    WriteLiteral("                <a href=\"javascript:document.getElementById(\'logoutForm\').submit()\" >Log off</a>\r\n            </li>\r\n");
                    EndContext();
#line 20 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
                }

#line default
#line hidden
                BeginContext(1132, 26, true);
                WriteLiteral("        </ul>\r\n    </li>\r\n");
                EndContext();
#line 23 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(1170, 8, true);
                WriteLiteral("    <li>");
                EndContext();
                BeginContext(1179, 129, false);
#line 26 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
                Write(Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "login-link", @class = "head-link" }));

#line default
#line hidden
                EndContext();
                BeginContext(1308, 7, true);
                WriteLiteral("</li>\r\n");
                EndContext();
#line 27 "C:\Users\Lilit-PC\source\repos\partsunlimited\src\PartsUnlimitedWebsite\Views\Shared\_Login.cshtml"
            }

#line default
#line hidden
        }
コード例 #27
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(53, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "D:\GERCONDOMVC\GerCondominiosMVC\GerCondominiosMVC\Views\Funcoes\Index.cshtml"

            ViewData["Title"] = "Funcoes";

#line default
#line hidden
            BeginContext(98, 31, true);
            WriteLiteral("\r\n<h2>Funcoes</h2>\r\n\r\n<p>\r\n    ");
            EndContext();
            BeginContext(129, 37, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d21f79b20dc241e697b0d24230329983", async() => {
                BeginContext(152, 10, true);
                WriteLiteral("Create New");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(166, 92, true);
            WriteLiteral("\r\n</p>\r\n<table class=\"table\">\r\n    <thead>\r\n        <tr>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(259, 45, false);
#line 16 "D:\GERCONDOMVC\GerCondominiosMVC\GerCondominiosMVC\Views\Funcoes\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Id_Funcao));

#line default
#line hidden
            EndContext();
            BeginContext(304, 55, true);
            WriteLiteral("\r\n            </th>\r\n            <th>\r\n                ");
            EndContext();
            BeginContext(360, 40, false);
#line 19 "D:\GERCONDOMVC\GerCondominiosMVC\GerCondominiosMVC\Views\Funcoes\Index.cshtml"
            Write(Html.DisplayNameFor(model => model.Nome));

#line default
#line hidden
            EndContext();
            BeginContext(400, 86, true);
            WriteLiteral("\r\n            </th>\r\n            <th></th>\r\n        </tr>\r\n    </thead>\r\n    <tbody>\r\n");
            EndContext();
#line 25 "D:\GERCONDOMVC\GerCondominiosMVC\GerCondominiosMVC\Views\Funcoes\Index.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(518, 48, true);
                WriteLiteral("        <tr>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(567, 44, false);
#line 28 "D:\GERCONDOMVC\GerCondominiosMVC\GerCondominiosMVC\Views\Funcoes\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Id_Funcao));

#line default
#line hidden
                EndContext();
                BeginContext(611, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(667, 39, false);
#line 31 "D:\GERCONDOMVC\GerCondominiosMVC\GerCondominiosMVC\Views\Funcoes\Index.cshtml"
                Write(Html.DisplayFor(modelItem => item.Nome));

#line default
#line hidden
                EndContext();
                BeginContext(706, 55, true);
                WriteLiteral("\r\n            </td>\r\n            <td>\r\n                ");
                EndContext();
                BeginContext(762, 65, false);
#line 34 "D:\GERCONDOMVC\GerCondominiosMVC\GerCondominiosMVC\Views\Funcoes\Index.cshtml"
                Write(Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }));

#line default
#line hidden
                EndContext();
                BeginContext(827, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(848, 71, false);
#line 35 "D:\GERCONDOMVC\GerCondominiosMVC\GerCondominiosMVC\Views\Funcoes\Index.cshtml"
                Write(Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }));

#line default
#line hidden
                EndContext();
                BeginContext(919, 20, true);
                WriteLiteral(" |\r\n                ");
                EndContext();
                BeginContext(940, 69, false);
#line 36 "D:\GERCONDOMVC\GerCondominiosMVC\GerCondominiosMVC\Views\Funcoes\Index.cshtml"
                Write(Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ }));

#line default
#line hidden
                EndContext();
                BeginContext(1009, 36, true);
                WriteLiteral("\r\n            </td>\r\n        </tr>\r\n");
                EndContext();
#line 39 "D:\GERCONDOMVC\GerCondominiosMVC\GerCondominiosMVC\Views\Funcoes\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(1048, 24, true);
            WriteLiteral("    </tbody>\r\n</table>\r\n");
            EndContext();
        }
コード例 #28
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"


            Layout = "~/Views/Shared/_layoutAdministrador.cshtml";


#line default
#line hidden
            BeginContext(71, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(124, 11, true);
            WriteLiteral("\r\n<p>\r\n    ");
            EndContext();
            BeginContext(135, 37, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d3cdd7be90e94dbd8fdddc87799e37c5", async() => {
                BeginContext(158, 10, true);
                WriteLiteral("Create New");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(172, 136, true);
            WriteLiteral("\r\n</p>\r\n<div class=\"opacidad\">\r\n    <table class=\"table\">\r\n        <thead>\r\n            <tr>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(309, 38, false);
#line 17 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
            Write(Html.DisplayNameFor(model => model.Id));

#line default
#line hidden
            EndContext();
            BeginContext(347, 67, true);
            WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(415, 42, false);
#line 20 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
            Write(Html.DisplayNameFor(model => model.Nombre));

#line default
#line hidden
            EndContext();
            BeginContext(457, 67, true);
            WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(525, 44, false);
#line 23 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
            Write(Html.DisplayNameFor(model => model.Password));

#line default
#line hidden
            EndContext();
            BeginContext(569, 67, true);
            WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(637, 43, false);
#line 26 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
            Write(Html.DisplayNameFor(model => model.Funcion));

#line default
#line hidden
            EndContext();
            BeginContext(680, 67, true);
            WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(748, 40, false);
#line 29 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
            Write(Html.DisplayNameFor(model => model.Mail));

#line default
#line hidden
            EndContext();
            BeginContext(788, 67, true);
            WriteLiteral("\r\n                </th>\r\n                <th>\r\n                    ");
            EndContext();
            BeginContext(856, 40, false);
#line 32 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
            Write(Html.DisplayNameFor(model => model.Telf));

#line default
#line hidden
            EndContext();
            BeginContext(896, 106, true);
            WriteLiteral("\r\n                </th>\r\n                <th></th>\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n");
            EndContext();
#line 38 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(1059, 60, true);
                WriteLiteral("            <tr>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1120, 37, false);
#line 42 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
                Write(Html.DisplayFor(modelItem => item.Id));

#line default
#line hidden
                EndContext();
                BeginContext(1157, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1225, 41, false);
#line 45 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
                Write(Html.DisplayFor(modelItem => item.Nombre));

#line default
#line hidden
                EndContext();
                BeginContext(1266, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1334, 43, false);
#line 48 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
                Write(Html.DisplayFor(modelItem => item.Password));

#line default
#line hidden
                EndContext();
                BeginContext(1377, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1445, 42, false);
#line 51 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
                Write(Html.DisplayFor(modelItem => item.Funcion));

#line default
#line hidden
                EndContext();
                BeginContext(1487, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1555, 39, false);
#line 54 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
                Write(Html.DisplayFor(modelItem => item.Mail));

#line default
#line hidden
                EndContext();
                BeginContext(1594, 67, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1662, 39, false);
#line 57 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
                Write(Html.DisplayFor(modelItem => item.Telf));

#line default
#line hidden
                EndContext();
                BeginContext(1701, 91, true);
                WriteLiteral("\r\n                </td>\r\n                <td>\r\n\r\n                <td>\r\n                    ");
                EndContext();
                BeginContext(1793, 71, false);
#line 62 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
                Write(Html.ActionLink("Modificar", "ModificarArticulo", new { id = item.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(1864, 26, true);
                WriteLiteral(" |\r\n\r\n                    ");
                EndContext();
                BeginContext(1891, 57, false);
#line 64 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
                Write(Html.ActionLink("Borrar", "Delete", new { id = item.Id }));

#line default
#line hidden
                EndContext();
                BeginContext(1948, 61, true);
                WriteLiteral("\r\n                </td>\r\n               \r\n            </tr>\r\n");
                EndContext();
#line 68 "C:\Users\setaka\Desktop\Tajamar curso\POST YPROYECTOS\COPY_ST_9core Bueno\COPY_ST_9core\Views\Administrador\MostrarUsuario.cshtml"
            }

#line default
#line hidden
            BeginContext(2024, 38, true);
            WriteLiteral("        </tbody>\r\n    </table>\r\n</div>");
            EndContext();
        }
コード例 #29
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(39, 167, true);
            WriteLiteral("<table><tr>\r\n<td style=\"padding-left: 10px; padding-right: 10px;\"><h4>Transaction Listing</h4></td>\r\n<td style=\"padding-left: 10px; padding-right: 10px;\"><h5>Person:  ");
            EndContext();
            BeginContext(207, 16, false);
#line 4 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
            Write(ViewBag.personid);

#line default
#line hidden
            EndContext();
            BeginContext(223, 82, true);
            WriteLiteral("</h5></td>\r\n<td style=\"padding-left: 10px; padding-right: 10px;\"><h5>Begin Date:  ");
            EndContext();
            BeginContext(306, 16, false);
#line 5 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
            Write(ViewBag.firstday);

#line default
#line hidden
            EndContext();
            BeginContext(322, 80, true);
            WriteLiteral("</h5></td>\r\n<td style=\"padding-left: 10px; padding-right: 10px;\"><h5>End Date:  ");
            EndContext();
            BeginContext(403, 15, false);
#line 6 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
            Write(ViewBag.lastday);

#line default
#line hidden
            EndContext();
            BeginContext(418, 29, true);
            WriteLiteral("</h5></td>\r\n</tr></table>\r\n\r\n");
            EndContext();
            BeginContext(448, 177, false);
#line 9 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
            Write(Html.ActionLink("Create New", "TransactionCreate", new { personid = ViewBag.personid,
                                                                           firstDay = ViewBag.firstDay, lastDay = ViewBag.lastDay, sortOrder = ViewBag.AcctSortParm }));

#line default
#line hidden
            EndContext();
            BeginContext(625, 110, true);
            WriteLiteral("\r\n</p>\r\n<table class=\"table\">\r\n\t<tr>\r\n\t\t<th>TransactionID</th>\r\n\t\t<th>TransactionDescription</th>\r\n\t\t<th>\r\n\t\t\t");
            EndContext();
            BeginContext(736, 209, false);
#line 17 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
            Write(Html.ActionLink("TransactionDate", "TransactionList",
                                  new { personid  = ViewBag.personid, firstDay = ViewBag.firstDay, lastDay = ViewBag.lastDay,
                                        sortOrder = ViewBag.DateSortParm, ChangeSort = true }));

#line default
#line hidden
            EndContext();
            BeginContext(945, 22, true);
            WriteLiteral("\r\n\t\t</th>\r\n\t\t<th>\r\n\t\t\t");
            EndContext();
            BeginContext(968, 205, false);
#line 22 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
            Write(Html.ActionLink("AcctNumber", "TransactionList",
                                  new { personid  = ViewBag.personid, firstDay = ViewBag.firstDay, lastDay = ViewBag.lastDay,
                                        sortOrder = ViewBag.AcctSortParm, ChangeSort = true }));

#line default
#line hidden
            EndContext();
            BeginContext(1173, 137, true);
            WriteLiteral("\r\n\t\t</th>\r\n\t\t<th>AccountName</th>\r\n\t\t<th>AcctAmount</th>\r\n\t\t<th>AcctSubType</th>\r\n\t\t<th>AcctType</th>\r\n\t\t<th>AccountPerson</th>\r\n\t</tr>\r\n");
            EndContext();
#line 32 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
            foreach (var item in Model)
            {
#line default
#line hidden
                BeginContext(1345, 13, true);
                WriteLiteral("\t<tr>\r\n\t\t<td>");
                EndContext();
                BeginContext(1359, 48, false);
#line 35 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.DisplayFor(modelItem => item.TransactionID));

#line default
#line hidden
                EndContext();
                BeginContext(1407, 13, true);
                WriteLiteral("</td>\r\n\t\t<td>");
                EndContext();
                BeginContext(1421, 57, false);
#line 36 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.DisplayFor(modelItem => item.TransactionDescription));

#line default
#line hidden
                EndContext();
                BeginContext(1478, 13, true);
                WriteLiteral("</td>\r\n\t\t<td>");
                EndContext();
                BeginContext(1492, 50, false);
#line 37 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.DisplayFor(modelItem => item.TransactionDate));

#line default
#line hidden
                EndContext();
                BeginContext(1542, 13, true);
                WriteLiteral("</td>\r\n\t\t<td>");
                EndContext();
                BeginContext(1556, 49, false);
#line 38 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.DisplayFor(modelItem => item.AccountNumber1));

#line default
#line hidden
                EndContext();
                BeginContext(1605, 13, true);
                WriteLiteral("</td>\r\n\t\t<td>");
                EndContext();
                BeginContext(1619, 76, false);
#line 39 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.DisplayFor(modelItem => item.Account_docs.FirstOrDefault().AccountName));

#line default
#line hidden
                EndContext();
                BeginContext(1695, 13, true);
                WriteLiteral("</td>\r\n\t\t<td>");
                EndContext();
                BeginContext(1709, 49, false);
#line 40 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.DisplayFor(modelItem => item.Account1Amount));

#line default
#line hidden
                EndContext();
                BeginContext(1758, 13, true);
                WriteLiteral("</td>\r\n\t\t<td>");
                EndContext();
                BeginContext(1772, 95, false);
#line 41 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.DisplayFor(modelItem => item.Account_docs.FirstOrDefault().AccountSubType.AccountSubType1));

#line default
#line hidden
                EndContext();
                BeginContext(1867, 13, true);
                WriteLiteral("</td>\r\n\t\t<td>");
                EndContext();
                BeginContext(1881, 104, false);
#line 42 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.DisplayFor(modelItem => item.Account_docs.FirstOrDefault().AccountSubType.AccountType.AccountType1));

#line default
#line hidden
                EndContext();
                BeginContext(1985, 13, true);
                WriteLiteral("</td>\r\n\t\t<td>");
                EndContext();
                BeginContext(1999, 93, false);
#line 43 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.DisplayFor(modelItem => item.Account_docs.FirstOrDefault().AccountPerson.AccountPerson1));

#line default
#line hidden
                EndContext();
                BeginContext(2092, 18, true);
                WriteLiteral("</td>\r\n\t\t<td>\r\n\t\t\t");
                EndContext();
                BeginContext(2111, 147, false);
#line 45 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.ActionLink("Edit", "TransactionEdit", new { id       = item.Id,
                                                                       personid = ViewBag.personid, firstday = ViewBag.firstday, lastday = ViewBag.lastday }));

#line default
#line hidden
                EndContext();
                BeginContext(2258, 5, true);
                WriteLiteral("\r\n\t\t\t");
                EndContext();
                BeginContext(2264, 153, false);
#line 47 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.ActionLink("Details", "TransactionDetails", new { id       = item.Id,
                                                                             personid = ViewBag.personid, firstday = ViewBag.firstday, lastday = ViewBag.lastday }));

#line default
#line hidden
                EndContext();
                BeginContext(2417, 5, true);
                WriteLiteral("\r\n\t\t\t");
                EndContext();
                BeginContext(2423, 150, false);
#line 49 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
                Write(Html.ActionLink("Delete", "TransactionDelete", new { id       = item.Id,
                                                                           personid = ViewBag.personid, firstday = ViewBag.firstday, lastday = ViewBag.lastday }));

#line default
#line hidden
                EndContext();
                BeginContext(2573, 19, true);
                WriteLiteral("\r\n\t\t</td>\r\n\t</tr>\r\n");
                EndContext();
#line 53 "/home/mark/Projects/farmdbvsc/Views/Home/TransactionList.cshtml"
            }

#line default
#line hidden
            BeginContext(2596, 14, true);
            WriteLiteral("</table>\r\n\r\n\r\n");
            EndContext();
        }
コード例 #30
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(65, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 4 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"

            ViewData["Title"] = "Details";
            Layout            = "~/Pages/Shared/_Layout.cshtml";

#line default
#line hidden
            BeginContext(157, 125, true);
            WriteLiteral("\r\n<h2>Details</h2>\r\n\r\n<div>\r\n    <h4>OrderDetail</h4>\r\n    <hr />\r\n    <dl class=\"dl-horizontal\">\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(283, 57, false);
#line 16 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.OrderDetail.UnitPrice));

#line default
#line hidden
            EndContext();
            BeginContext(340, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(384, 53, false);
#line 19 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.DisplayFor(model => model.OrderDetail.UnitPrice));

#line default
#line hidden
            EndContext();
            BeginContext(437, 43, true);
            WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(481, 56, false);
#line 22 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.OrderDetail.Quantity));

#line default
#line hidden
            EndContext();
            BeginContext(537, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(581, 52, false);
#line 25 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.DisplayFor(model => model.OrderDetail.Quantity));

#line default
#line hidden
            EndContext();
            BeginContext(633, 43, true);
            WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(677, 56, false);
#line 28 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.OrderDetail.Discount));

#line default
#line hidden
            EndContext();
            BeginContext(733, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(777, 52, false);
#line 31 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.DisplayFor(model => model.OrderDetail.Discount));

#line default
#line hidden
            EndContext();
            BeginContext(829, 43, true);
            WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(873, 53, false);
#line 34 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.OrderDetail.Order));

#line default
#line hidden
            EndContext();
            BeginContext(926, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(970, 57, false);
#line 37 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.DisplayFor(model => model.OrderDetail.Order.OrderId));

#line default
#line hidden
            EndContext();
            BeginContext(1027, 43, true);
            WriteLiteral("\r\n        </dd>\r\n        <dt>\r\n            ");
            EndContext();
            BeginContext(1071, 55, false);
#line 40 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.DisplayNameFor(model => model.OrderDetail.Product));

#line default
#line hidden
            EndContext();
            BeginContext(1126, 43, true);
            WriteLiteral("\r\n        </dt>\r\n        <dd>\r\n            ");
            EndContext();
            BeginContext(1170, 61, false);
#line 43 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.DisplayFor(model => model.OrderDetail.Product.ProductId));

#line default
#line hidden
            EndContext();
            BeginContext(1231, 47, true);
            WriteLiteral("\r\n        </dd>\r\n    </dl>\r\n</div>\r\n<div>\r\n    ");
            EndContext();
            BeginContext(1279, 68, false);
#line 48 "C:\Users\asge4900\source\repos\Northwind\Northwind.Gui.Web\Pages\OrderDetails\Details.cshtml"
            Write(Html.ActionLink("Edit", "Edit", new { /* id = Model.PrimaryKey */ }));

#line default
#line hidden
            EndContext();
            BeginContext(1347, 8, true);
            WriteLiteral(" |\r\n    ");
            EndContext();
            BeginContext(1355, 38, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4cb647a82ed4409b82d62ff33afa9dd5", async() => {
                BeginContext(1377, 12, true);
                WriteLiteral("Back to List");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1393, 10, true);
            WriteLiteral("\r\n</div>\r\n");
            EndContext();
        }