Пример #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(46, 502, true);
            WriteLiteral(@"<style>
    .infodiv {
        border: 1px solid gray;
        height: 150px;
        margin-right: 1%;
        background-image: linear-gradient(to right, #005C97, #363795 )
    }

        .infodiv h5 {
            margin-top: 10%;
            color: white;
        }

        .infodiv h4 {
            margin-top: 10%;
            color: white;
        }
        .infodiv:hover {
            background-image: linear-gradient(to right,#363795,#005C97 )
        }
   
</style>

");
            EndContext();
            BeginContext(548, 55, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("caption-view", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8d21e225ba054a068b5291255b093081", async() => {
            }
                                                                        );
            __EductionWeb_Areas_Admin_TagHelpers_CaptionViewTagHelper = CreateTagHelper <global::EductionWeb.Areas.Admin.TagHelpers.CaptionViewTagHelper>();
            __tagHelperExecutionContext.Add(__EductionWeb_Areas_Admin_TagHelpers_CaptionViewTagHelper);
            __EductionWeb_Areas_Admin_TagHelpers_CaptionViewTagHelper.TitleAttribute = (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(603, 234, true);
            WriteLiteral("\r\n<div class=\"container\">\r\n    <div class=\"row  \">\r\n            <div class=\"col text-center infodiv\">\r\n                \r\n        <a href=\"/Category/List\">\r\n                <h5>تعداد دسته بندی ها<i></i></h5>\r\n        </a>\r\n        <h4>");
            EndContext();
            BeginContext(838, 19, false);
#line 33 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Home\_SystemLook.cshtml"
            Write(Model.CategoryCount);

#line default
#line hidden
            EndContext();
            BeginContext(857, 164, true);
            WriteLiteral("</h4>\r\n                \r\n    </div>\r\n        <div class=\"col text-center infodiv\">\r\n            <a href=\"/Teacher/List\"> <h5>تعداد اساتید</h5></a>\r\n            <h4>");
            EndContext();
            BeginContext(1022, 18, false);
#line 38 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Home\_SystemLook.cshtml"
            Write(Model.TeacherCount);

#line default
#line hidden
            EndContext();
            BeginContext(1040, 167, true);
            WriteLiteral("</h4>\r\n        </div>\r\n        <div class=\"col text-center infodiv\">\r\n            <a href=\"/Course/List\">\r\n            <h5>تعداد دوره های آموزشی</h5>\r\n            <h4>");
            EndContext();
            BeginContext(1208, 17, false);
#line 43 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Home\_SystemLook.cshtml"
            Write(Model.CourseCount);

#line default
#line hidden
            EndContext();
            BeginContext(1225, 70, true);
            WriteLiteral("</h4>\r\n            </a>\r\n        </div>\r\n       \r\n    </div>\r\n</div>\r\n");
            EndContext();
        }
Пример #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Slider\Create.cshtml"

            Layout        = "~/Areas/Admin/Views/Shared/_layout.cshtml";
            ViewBag.Title = "ثبت دوره جدید";

#line default
#line hidden
            BeginContext(151, 31, true);
            WriteLiteral("<div class=\"form-group \">\r\n    ");
            EndContext();
            BeginContext(182, 58, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("caption-view", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "99991794bac04ca686a4adae33bd3d8d", async() => {
            }
                                                                        );
            __EductionWeb_Areas_Admin_TagHelpers_CaptionViewTagHelper = CreateTagHelper <global::EductionWeb.Areas.Admin.TagHelpers.CaptionViewTagHelper>();
            __tagHelperExecutionContext.Add(__EductionWeb_Areas_Admin_TagHelpers_CaptionViewTagHelper);
            __EductionWeb_Areas_Admin_TagHelpers_CaptionViewTagHelper.TitleAttribute = (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(240, 18, true);
            WriteLiteral("\r\n    <br />\r\n    ");
            EndContext();
            BeginContext(258, 494, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "248cd8668c134294a23a0f8cb7e354a4", async() => {
                BeginContext(352, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(358, 130, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "5ce66747a1dd4beea9f26e6b62c3f972", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
#line 10 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Slider\Create.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Path);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.Name = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(488, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(494, 115, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a907a4828ec047b5acdce701421aab9b", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(609, 136, true);
                WriteLiteral("\r\n        <br />\r\n  <input id=\"subimg\" type=\"submit\" class=\"btn btn-primary\" value=\"ثبت\" />\r\n    <hr />\r\n    <img id=\"Posteimg\" />\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_10.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_11.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_12.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(752, 601, true);
            WriteLiteral(@"
</div>
<style>
    #subimg {
          margin-right:45%;
    }
    #ShowImage {
    margin-right:40%;
    }
    #Posteimg {
    margin-right:30%;
    }
</style>
<script>
    function readURL(input) {
        if (input.files && input.files[0]) {
            var reader = new FileReader();

            reader.onload = function (e) {
                $('#Posteimg')
                    .attr('src', e.target.result)
                    .width(500)
                    .height(300);
            };

            reader.readAsDataURL(input.files[0]);
        }
    }

</script>");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"

            Layout        = "~/Areas/Admin/Views/Shared/_layout.cshtml";
            ViewBag.Title = "لیست دوره ها";

#line default
#line hidden
            BeginContext(161, 50, true);
            WriteLiteral("\r\n<div style=\"width:100%;margin:10px auto;\">\r\n    ");
            EndContext();
            BeginContext(211, 64, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("caption-view", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ed55c2a4a424f6cbcb60e4b52a2e6c2", async() => {
            }
                                                                        );
            __EductionWeb_Areas_Admin_TagHelpers_CaptionViewTagHelper = CreateTagHelper <global::EductionWeb.Areas.Admin.TagHelpers.CaptionViewTagHelper>();
            __tagHelperExecutionContext.Add(__EductionWeb_Areas_Admin_TagHelpers_CaptionViewTagHelper);
            __EductionWeb_Areas_Admin_TagHelpers_CaptionViewTagHelper.TitleAttribute = (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(275, 6, true);
            WriteLiteral("\r\n    ");
            EndContext();
            BeginContext(281, 31, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "622b529047674f2fb40bd4ad29a90418", 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(312, 6, true);
            WriteLiteral("\r\n    ");
            EndContext();
            BeginContext(318, 693, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7302d501f07346daa19eeeb25859cfe8", async() => {
                BeginContext(399, 87, true);
                WriteLiteral("\r\n\r\n        <div class=\"col\">\r\n            <div class=\"row rwfilter\">\r\n                ");
                EndContext();
                BeginContext(486, 51, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "71f9b2e738bd48e4a0dface3b0c01a85", async() => {
                    BeginContext(520, 9, true);
                    WriteLiteral("نام دوره:");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 15 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.CourseSearchName);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(537, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(555, 116, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "9f1b962bfd6a4f108c64eba632766b90", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
#line 16 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.CourseSearchName);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(671, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(689, 48, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "eda75d6b2640426aa613ff1c8beb89e4", async() => {
                    BeginContext(717, 12, true);
                    WriteLiteral("دسته آموزشی:");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper);
#line 17 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.CategoryID);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(737, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(755, 89, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("select", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "281e50156648477ca87596dea28888b8", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.SelectTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
#line 18 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.Items = Model.Categories;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-items", __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.Items, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 18 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.CategoryID);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(844, 160, true);
                WriteLiteral("\r\n                <button type=\"submit\" id=\"SearchButton\" class=\"btn btn-primary\">جستجو</button>\r\n\r\n            </div>\r\n            <hr />\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);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_6.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_7.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_8.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

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

    <style>
        #TeacherSearchName {
            margin-bottom: 5px;
            margin-left: 5px;
        }

        #SearchButton {
            margin-bottom: 5px;
            margin-right: 5px;
        }

        .rwfilter label {
            margin-left: 5px;
        }
        #CoursePoster {
        width:100px;
        height:100px;
        }
    </style>
    <div style=""float:left"">

        ");
            EndContext();
            BeginContext(1443, 77, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3a723a1623b4a1a8575fbe6bb1433db", async() => {
                BeginContext(1507, 9, true);
                WriteLiteral("ثبت جدید ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_6.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_10.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1520, 665, true);
            WriteLiteral(@"
    </div>
    <table id=""CourseList"" class=""table table-bordered table-hover text-center"">
        <thead class=""bg-primary text-light"">

            <tr>
                
                <td>پوستر </td>
                <td>نام </td>
                <td> نام انگلیسی</td>
                <td>کد</td>
                <td>انشار دهنده</td>
                <td>زبان </td>
                <td>نوع آموزش</td>
                <td>زمان</td>
                <td>هزینه</td>
                <td>دسته</td>
                <td>نام مدرس</td>
                <td>ویرایش</td>
                <td>حذف</td>
            </tr>
        </thead>
        <tbody>
");
            EndContext();
#line 70 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
            foreach (var item in Model.CourseItems)
            {
#line default
#line hidden
                BeginContext(2258, 29, true);
                WriteLiteral("                <tr data-id=\"");
                EndContext();
                BeginContext(2288, 7, false);
#line 74 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.ID);

#line default
#line hidden
                EndContext();
                BeginContext(2295, 28, true);
                WriteLiteral("\">\r\n                    <td>");
                EndContext();
                BeginContext(2323, 60, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "5bef2c97e60c444ca689c63fee347768", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                AddHtmlAttributeValue("", 2351, "~/Pictures/Course/", 2351, 18, true);
#line 75 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                AddHtmlAttributeValue("", 2369, item.Path, 2369, 10, false);

#line default
#line hidden
                EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2383, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2415, 9, false);
#line 76 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.Name);

#line default
#line hidden
                EndContext();
                BeginContext(2424, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2456, 16, false);
#line 77 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.EnglishName);

#line default
#line hidden
                EndContext();
                BeginContext(2472, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2504, 9, false);
#line 78 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.Code);

#line default
#line hidden
                EndContext();
                BeginContext(2513, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2545, 18, false);
#line 79 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.PublisherName);

#line default
#line hidden
                EndContext();
                BeginContext(2563, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2595, 12, false);
#line 80 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.Languge);

#line default
#line hidden
                EndContext();
                BeginContext(2607, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2639, 15, false);
#line 81 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.TypeCourse);

#line default
#line hidden
                EndContext();
                BeginContext(2654, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2686, 9, false);
#line 82 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.Time);

#line default
#line hidden
                EndContext();
                BeginContext(2695, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2727, 9, false);
#line 83 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.Cost);

#line default
#line hidden
                EndContext();
                BeginContext(2736, 50, true);
                WriteLiteral(" <span>تومان</span></td>\r\n                    <td>");
                EndContext();
                BeginContext(2787, 18, false);
#line 84 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.Category.Name);

#line default
#line hidden
                EndContext();
                BeginContext(2805, 31, true);
                WriteLiteral("</td>\r\n                    <td>");
                EndContext();
                BeginContext(2837, 21, false);
#line 85 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                Write(item.Teacher.FullName);

#line default
#line hidden
                EndContext();
                BeginContext(2858, 50, true);
                WriteLiteral("</td>\r\n                    <td><a class=\"btn-link\"");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 2908, "\"", 2944, 2);
                WriteAttributeValue("", 2915, "/Admin/Course/Create/", 2915, 21, true);
#line 86 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                WriteAttributeValue("", 2936, item.ID, 2936, 8, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(2945, 61, true);
                WriteLiteral(">ویرایش</a></td>\r\n                    <td><a class=\"btn-link\"");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 3006, "\"", 3042, 2);
                WriteAttributeValue("", 3013, "/Admin/Course/Remove/", 3013, 21, true);
#line 87 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
                WriteAttributeValue("", 3034, item.ID, 3034, 8, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(3043, 40, true);
                WriteLiteral(">حذف</a></td>\r\n\r\n                </tr>\r\n");
                EndContext();
#line 90 "F:\My Appliction\Web\EducationProject\EductionWebSite\Areas\Admin\Views\Course\List.cshtml"
            }

#line default
#line hidden
            BeginContext(3098, 1141, true);
            WriteLiteral(@"        </tbody>
    </table>

    <div style=""margin-right:45%"">
        <row>

            <nav aria-label=""Page navigation example "">
                <ul class=""pagination"">
                    <li class=""page-item"">
                        <a class=""page-link"" href=""#"" aria-label=""Previous"">
                            <span aria-hidden=""true"">&laquo;</span>
                            <span class=""sr-only"">Previous</span>
                        </a>
                    </li>
                    <li class=""page-item ""><a class=""page-link"" href=""#"">1</a></li>
                    <li class=""page-item""><a class=""page-link"" href=""#"">2</a></li>
                    <li class=""page-item""><a class=""page-link"" href=""#"">3</a></li>
                    <li class=""page-item"">
                        <a class=""page-link"" href=""#"" aria-label=""Next"">
                            <span aria-hidden=""true"">&raquo;</span>
                            <span class=""sr-only"">Next</span>
                     ");
            WriteLiteral("   </a>\r\n                    </li>\r\n                </ul>\r\n            </nav>\r\n        </row>\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
            DefineSection("ViewScript", async() => {
                BeginContext(4261, 550, true);
                WriteLiteral(@"

    <script>
        window.onload = load;
        function load() {
            AssingEventTotr();
        }
        function AssingEventTotr() {
            var _listtr = document.querySelectorAll(""#CourseList tbody tr"");
            for (var i = 0; i < _listtr.length; i++) {
                _listtr[i].addEventListener(""dblclick"", function () {
                    var id = this.getAttribute(""data-id"");
                    OpenWindow(""/Admin/Course/Details/"" + id);
                });
            }
        }
    </script>

");
                EndContext();
            }
                          );
        }