예제 #1
0
파일: ViewSet.cs 프로젝트: zpavic/dotnet
        public DynamicView CreateDynamicView(string key, string description)
        {
            AssertThatTheViewKeyIsUnique(key);

            DynamicView view = new DynamicView(Model, key, description);

            DynamicViews.Add(view);
            return(view);
        }
예제 #2
0
파일: ViewSet.cs 프로젝트: zpavic/dotnet
        public DynamicView CreateDynamicView(Container container, string key, string description)
        {
            AssertThatTheContainerIsNotNull(container);
            AssertThatTheViewKeyIsUnique(key);

            DynamicView view = new DynamicView(container, key, description);

            DynamicViews.Add(view);
            return(view);
        }
예제 #3
0
파일: ViewSet.cs 프로젝트: zpavic/dotnet
        public DynamicView CreateDynamicView(SoftwareSystem softwareSystem, string key, string description)
        {
            AssertThatTheSoftwareSystemIsNotNull(softwareSystem);
            AssertThatTheViewKeyIsUnique(key);

            DynamicView view = new DynamicView(softwareSystem, key, description);

            DynamicViews.Add(view);
            return(view);
        }
예제 #4
0
파일: ViewSet.cs 프로젝트: fhchina/dotnet-1
 public DynamicView CreateDynamicView(string key, string description)
 {
     if (GetViewWithKey(key) != null)
     {
         throw new ArgumentException("A view with the key " + key + " already exists.");
     }
     else
     {
         DynamicView view = new DynamicView(Model, key, description);
         DynamicViews.Add(view);
         return(view);
     }
 }
예제 #5
0
파일: ViewSet.cs 프로젝트: fhchina/dotnet-1
        public DynamicView CreateDynamicView(Container container, string key, string description)
        {
            if (container == null)
            {
                throw new ArgumentException("Container must not be null.");
            }

            if (GetViewWithKey(key) != null)
            {
                throw new ArgumentException("A view with the key " + key + " already exists.");
            }
            else
            {
                DynamicView view = new DynamicView(container, key, description);
                DynamicViews.Add(view);
                return(view);
            }
        }
예제 #6
0
파일: ViewSet.cs 프로젝트: fhchina/dotnet-1
        public DynamicView CreateDynamicView(SoftwareSystem softwareSystem, string key, string description)
        {
            if (softwareSystem == null)
            {
                throw new ArgumentException("Software system must not be null.");
            }

            if (GetViewWithKey(key) != null)
            {
                throw new ArgumentException("A view with the key " + key + " already exists.");
            }
            else
            {
                DynamicView view = new DynamicView(softwareSystem, key, description);
                DynamicViews.Add(view);
                return(view);
            }
        }
예제 #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 4 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"

            ViewData["Title"] = "Quản lý người dùng";
            Layout            = "~/Views/Shared/_LayoutDefaults.cshtml";
            var    data       = ViewBag.Data as List <CPUserEntity>;
            var    model      = ViewBag.Model as DefaultModel;
            var    role       = new CPRoleService();
            string SearchText = string.IsNullOrEmpty(model.SearchText) ? string.Empty : model.SearchText;

#line default
#line hidden
            BeginContext(411, 130, true);
            WriteLiteral("<div class=\"row\">\r\n    <div class=\"col-md-12\">\r\n\r\n        <div id=\"message\" style=\"display:none; opacity:0; pointer-events:none\"> ");
            EndContext();
            BeginContext(542, 15, false);
#line 15 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
            Write(ViewBag.Message);

#line default
#line hidden
            EndContext();
            BeginContext(557, 51, true);
            WriteLiteral(" </div>\r\n\r\n        <div class=\"card\">\r\n            ");
            EndContext();
            BeginContext(608, 6803, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ed1e5bcb0582eeef0eac1f1eae5124cf57e3f8c96126", async() => {
                BeginContext(710, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(729, 23, false);
#line 19 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                Write(Html.AntiForgeryToken());

#line default
#line hidden
                EndContext();
                BeginContext(752, 1936, true);
                WriteLiteral(@"
                <input type=""hidden"" id=""ArrID"" name=""ArrID"" value="""" />
                <input type=""hidden"" id=""ctrl"" value=""cpuser"" />

                <script type=""text/javascript"">
                    var Search = [
                        ""filter_Search"", ""SearchText"",
                        ""filter_StartDate"", ""StartDate"",
                        ""filter_EndDate"", ""EndDate"",
                    ];
                    var SearchDefault = [
                        ""1"", ""PageIndex"",
                        ""1"", ""LangID"",
                        ""20"", ""PageSize""
                    ];
                </script>

                <div class=""card-header card-header-image text-right"">
                    <div class=""container-fluid"">
                        <div class=""row"">
                            <div class=""col-sm-12 col-md-6 col-lg-5"">
                                <div class=""row"">
                                    <div class=""col-sm-12 col-md-5"">
                        ");
                WriteLiteral(@"                <input id=""filter_StartDate"" type='text' class=""form-control datetimepicker"" name=""StartDate"" placeholder=""từ ngày"" />
                                    </div>
                                    <div class=""col-sm-12 col-md-5"">
                                        <input id=""filter_EndDate"" type='text' class=""form-control datetimepicker"" name=""EndDate"" placeholder=""đến ngày"" />
                                    </div>
                                    <div class=""col-md-2"">
                                        <a href=""javascript:void(0)"" class=""btn btn-sm btn-primary btn-fab"" onclick=""redirect('Index')""><i class=""material-icons"">search</i></a>
                                    </div>
                                </div>
                            </div>
                            <div class=""col-sm-12 col-md-6 col-lg-7"">
                                ");
                EndContext();
                BeginContext(2689, 107, false);
#line 53 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                Write(DynamicViews.GetCommand("create| add,delete|xóa,export| export,active|duyệt,nonactive|bỏ,clear| xóa cache"));

#line default
#line hidden
                EndContext();
                BeginContext(2796, 1442, true);
                WriteLiteral(@"
                            </div>
                        </div>
                    </div>
                </div>
                <div class=""card-body"">
                    <div class=""table-responsive"">
                        <table class=""table table-bordered""> 
                            <thead class=""text-light text-center"">
                                <tr>
                                    <th width=""5%"">
                                        <div class=""form-check"">
                                            <label class=""form-check-label"">
                                                <input class=""form-check-input"" type=""checkbox"" onclick=""checkall(this)"" />
                                                <span class=""form-check-sign"">
                                                    <span class=""check""></span>
                                                </span>
                                            </label>
                                        </div>");
                WriteLiteral(@"
                                    </th>
                                    <th>Name</th>
                                    <th>Quyền</th>
                                    <th>Publish</th>
                                    <th>Create</th>
                                    <th>ID</th>
                                </tr>
                            </thead>
                            <tbody>
");
                EndContext();
#line 81 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"

                if (data != null)
                {
                    int count = data.Count;
                    for (int i = 0; i < count; i++)
                    {
                        var item        = data[i];
                        var rule        = role.GetItemByID(item.RoleID);
                        string nameRole = rule != null ? rule.Name : "chưa có quyền";

#line default
#line hidden
                        BeginContext(4808, 389, true);
                        WriteLiteral(@"                                            <tr>
                                                <td align=""center"">
                                                    <div class=""form-check"">
                                                        <label class=""form-check-label"">
                                                            <input name=""cid"" class=""form-check-input""");
                        EndContext();
                        BeginWriteAttribute("value", " value=\"", 5197, "\"", 5213, 1);
#line 94 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                        WriteAttributeValue("", 5205, item.ID, 5205, 8, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(5214, 456, true);
                        WriteLiteral(@" type=""checkbox"" />
                                                            <span class=""form-check-sign"">
                                                                <span class=""check""></span>
                                                            </span>
                                                        </label>
                                                    </div>
                                                </td>
");
                        EndContext();
                        BeginContext(6108, 130, true);
                        WriteLiteral("                                                <td align=\"left\">\r\n                                                    <a class=\"\"");
                        EndContext();
                        BeginWriteAttribute("href", " href=\"", 6238, "\"", 6292, 1);
#line 107 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                        WriteAttributeValue("", 6245, Url.Action("edit", "cpuser", new { id = item.ID }), 6245, 47, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(6293, 59, true);
                        WriteLiteral(">\r\n                                                        ");
                        EndContext();
                        BeginContext(6353, 9, false);
#line 108 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                        Write(item.Name);

#line default
#line hidden
                        EndContext();
                        BeginContext(6362, 182, true);
                        WriteLiteral("\r\n                                                    </a>\r\n                                                </td>\r\n                                                <td align=\"center\">");
                        EndContext();
                        BeginContext(6545, 8, false);
#line 111 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                        Write(nameRole);

#line default
#line hidden
                        EndContext();
                        BeginContext(6553, 128, true);
                        WriteLiteral("</td>\r\n                                                <td align=\"center\">\r\n                                                    ");
                        EndContext();
                        BeginContext(6682, 46, false);
#line 113 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                        Write(DynamicViews.GetActive(item.ID, item.Activity));

#line default
#line hidden
                        EndContext();
                        BeginContext(6728, 178, true);
                        WriteLiteral("\r\n                                                </td>\r\n                                                <td align=\"center\">\r\n                                                    ");
                        EndContext();
                        BeginContext(6907, 54, false);
#line 116 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                        Write(string.Format("{0:dd-MM-yyyy HH:mm:ss}", item.Created));

#line default
#line hidden
                        EndContext();
                        BeginContext(6961, 124, true);
                        WriteLiteral("\r\n                                                </td>\r\n                                                <td align=\"center\">");
                        EndContext();
                        BeginContext(7086, 7, false);
#line 118 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                        Write(item.ID);

#line default
#line hidden
                        EndContext();
                        BeginContext(7093, 58, true);
                        WriteLiteral("</td>\r\n                                            </tr>\r\n");
                        EndContext();
#line 120 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                    }
                }


#line default
#line hidden
                BeginContext(7268, 136, true);
                WriteLiteral("                            </tbody>\r\n                        </table>\r\n                    </div>\r\n                </div>\r\n            ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(7411, 40, true);
            WriteLiteral("\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
#line 132 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"

            if (ViewBag.Message != null)
            {
                string message = ViewBag.Message;


#line default
#line hidden
                DefineSection("Scripts", async() => {
                    BeginContext(7564, 263, true);
                    WriteLiteral(@"
            <script type=""text/javascript"">
                $(""#message"").notify($(""#message"").html(), {
                    position: 'top left',
                    autoHide: false,
                    clickToHide: true,
                    className : '");
                    EndContext();
                    BeginContext(7828, 15, false);
#line 142 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
                    Write(ViewBag.TypeMsg);

#line default
#line hidden
                    EndContext();
                    BeginContext(7843, 55, true);
                    WriteLiteral("\'\r\n                });\r\n            </script>\r\n        ");
                    EndContext();
                }
                              );
#line 145 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPUser\Index.cshtml"
            }

#line default
#line hidden
        }
예제 #8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 4 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"

            ViewData["Title"] = "Quản lý ngôn ngữ";
            Layout            = "~/Views/Shared/_LayoutDefaults.cshtml";
            var    data       = ViewBag.Data as List <SysTemplateEntity>;
            var    file       = ViewBag.File as System.IO.FileInfo[];
            var    model      = ViewBag.Model as DefaultModel;
            string SearchText = model != null && string.IsNullOrEmpty(model.SearchText) ? string.Empty : model.SearchText;

#line default
#line hidden
            BeginContext(461, 48, true);
            WriteLiteral("<div class=\"row\">\r\n    <div class=\"col-md-12\">\r\n");
            EndContext();
#line 14 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"

            foreach (var item in file)
            {
#line default
#line hidden
                BeginContext(576, 19, true);
                WriteLiteral("                <p>");
                EndContext();
                BeginContext(596, 13, false);
#line 17 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
                Write(item.FullName);

#line default
#line hidden
                EndContext();
                BeginContext(609, 6, true);
                WriteLiteral("</p>\r\n");
                EndContext();
#line 18 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
            }


#line default
#line hidden
            BeginContext(641, 80, true);
            WriteLiteral("        <div id=\"message\" style=\"display:none; opacity:0; pointer-events:none\"> ");
            EndContext();
            BeginContext(722, 15, false);
#line 20 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
            Write(ViewBag.Message);

#line default
#line hidden
            EndContext();
            BeginContext(737, 51, true);
            WriteLiteral(" </div>\r\n\r\n        <div class=\"card\">\r\n            ");
            EndContext();
            BeginContext(788, 5475, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "593b8370d373f19ba16c86af66b992391cc0b97a7449", async() => {
                BeginContext(895, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(914, 23, false);
#line 24 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
                Write(Html.AntiForgeryToken());

#line default
#line hidden
                EndContext();
                BeginContext(937, 1941, true);
                WriteLiteral(@"
                <input type=""hidden"" id=""ArrID"" name=""ArrID"" value="""" />
                <input type=""hidden"" id=""ctrl"" value=""SysTemplate"" />

                <script type=""text/javascript"">
                    var Search = [
                        ""filter_Search"", ""SearchText"",
                        ""filter_StartDate"", ""StartDate"",
                        ""filter_EndDate"", ""EndDate"",
                    ];
                    var SearchDefault = [
                        ""1"", ""PageIndex"",
                        ""1"", ""LangID"",
                        ""20"", ""PageSize""
                    ];
                </script>

                <div class=""card-header card-header-image text-right"">
                    <div class=""container-fluid"">
                        <div class=""row"">
                            <div class=""col-sm-12 col-md-6 col-lg-5"">
                                <div class=""row"">
                                    <div class=""col-sm-12 col-md-5"">
                   ");
                WriteLiteral(@"                     <input id=""filter_StartDate"" type='text' class=""form-control datetimepicker"" name=""StartDate"" placeholder=""từ ngày"" />
                                    </div>
                                    <div class=""col-sm-12 col-md-5"">
                                        <input id=""filter_EndDate"" type='text' class=""form-control datetimepicker"" name=""EndDate"" placeholder=""đến ngày"" />
                                    </div>
                                    <div class=""col-md-2"">
                                        <a href=""javascript:void(0)"" class=""btn btn-sm btn-primary btn-fab"" onclick=""redirect('Index')""><i class=""material-icons"">search</i></a>
                                    </div>
                                </div>
                            </div>
                            <div class=""col-sm-12 col-md-6 col-lg-7"">
                                ");
                EndContext();
                BeginContext(2879, 113, false);
#line 58 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
                Write(DynamicViews.GetCommand("create| add,active|duyệt,nonactive|bỏ duyệt,export| export,delete|xóa,clear| xóa cache"));

#line default
#line hidden
                EndContext();
                BeginContext(2992, 1387, true);
                WriteLiteral(@"
                            </div>
                        </div>
                    </div>
                </div>
                <div class=""card-body"">
                    <div class=""table-responsive"">
                        <table class=""table table-bordered"">
                            <thead class=""text-light text-center"">
                                <tr>
                                    <th width=""5%"">
                                        <div class=""form-check"">
                                            <label class=""form-check-label"">
                                                <input class=""form-check-input"" type=""checkbox"" onclick=""checkall(this)"" />
                                                <span class=""form-check-sign"">
                                                    <span class=""check""></span>
                                                </span>
                                            </label>
                                        </div>
");
                WriteLiteral(@"
                                    </th>
                                    <th>ID</th>
                                    <th>Name</th>
                                    <th>Code</th>
                                    <th>Publish</th>
                                </tr>
                            </thead>
                            <tbody>
");
                EndContext();
#line 85 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"

                if (data != null)
                {
                    int count = data.Count;
                    for (int i = 0; i < count; i++)
                    {
                        var item = data[i];

#line default
#line hidden
                        BeginContext(4755, 389, true);
                        WriteLiteral(@"                                            <tr>
                                                <td align=""center"">
                                                    <div class=""form-check"">
                                                        <label class=""form-check-label"">
                                                            <input name=""cid"" class=""form-check-input""");
                        EndContext();
                        BeginWriteAttribute("value", " value=\"", 5144, "\"", 5160, 1);
#line 96 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
                        WriteAttributeValue("", 5152, item.ID, 5152, 8, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(5161, 523, true);
                        WriteLiteral(@" type=""checkbox"" />
                                                            <span class=""form-check-sign"">
                                                                <span class=""check""></span>
                                                            </span>
                                                        </label>
                                                    </div>
                                                </td>
                                                <td align=""center"">");
                        EndContext();
                        BeginContext(5685, 7, false);
#line 103 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
                        Write(item.ID);

#line default
#line hidden
                        EndContext();
                        BeginContext(5692, 94, true);
                        WriteLiteral("</td>\r\n                                                <td align=\"center\"><a class=\"text-info\"");
                        EndContext();
                        BeginWriteAttribute("href", " href=\"", 5786, "\"", 5845, 1);
#line 104 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
                        WriteAttributeValue("", 5793, Url.Action("edit", "SysTemplate", new { id = item.ID }), 5793, 52, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(5846, 1, true);
                        WriteLiteral(">");
                        EndContext();
                        BeginContext(5848, 9, false);
#line 104 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
                        Write(item.Name);

#line default
#line hidden
                        EndContext();
                        BeginContext(5857, 78, true);
                        WriteLiteral("</a></td>\r\n                                                <td align=\"center\">");
                        EndContext();
                        BeginContext(5936, 9, false);
#line 105 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
                        Write(item.Name);

#line default
#line hidden
                        EndContext();
                        BeginContext(5945, 58, true);
                        WriteLiteral("</td>\r\n                                            </tr>\r\n");
                        EndContext();
#line 107 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
                    }
                }


#line default
#line hidden
                BeginContext(6120, 136, true);
                WriteLiteral("                            </tbody>\r\n                        </table>\r\n                    </div>\r\n                </div>\r\n            ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(6263, 40, true);
            WriteLiteral("\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
#line 119 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"

            if (ViewBag.Message != null)
            {
                string message = ViewBag.Message;


#line default
#line hidden
                DefineSection("Scripts", async() => {
                    BeginContext(6416, 263, true);
                    WriteLiteral(@"
            <script type=""text/javascript"">
                $(""#message"").notify($(""#message"").html(), {
                    position: 'top left',
                    autoHide: false,
                    clickToHide: true,
                    className : '");
                    EndContext();
                    BeginContext(6680, 15, false);
#line 129 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
                    Write(ViewBag.TypeMsg);

#line default
#line hidden
                    EndContext();
                    BeginContext(6695, 55, true);
                    WriteLiteral("\'\r\n                });\r\n            </script>\r\n        ");
                    EndContext();
                }
                              );
#line 132 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\SysTemplate\Index.cshtml"
            }

#line default
#line hidden
        }
예제 #9
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 4 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"

            ViewData["Title"] = "Quản lý chuyên mục";
            Layout            = "~/Views/Shared/_LayoutDefaults.cshtml";
            var    data       = ViewBag.Data as List <CPMenuEntity>;
            var    model      = ViewBag.Model as DefaultModel;
            string SearchText = string.IsNullOrEmpty(model.SearchText) ? string.Empty : model.SearchText;

#line default
#line hidden
            BeginContext(374, 130, true);
            WriteLiteral("<div class=\"row\">\r\n    <div class=\"col-md-12\">\r\n\r\n        <div id=\"message\" style=\"display:none; opacity:0; pointer-events:none\"> ");
            EndContext();
            BeginContext(505, 15, false);
#line 14 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
            Write(ViewBag.Message);

#line default
#line hidden
            EndContext();
            BeginContext(520, 51, true);
            WriteLiteral(" </div>\r\n\r\n        <div class=\"card\">\r\n            ");
            EndContext();
            BeginContext(571, 6298, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "725bf01737f6d81aa0eaa1a5b294a6c8b536d95d6089", async() => {
                BeginContext(673, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(692, 23, false);
#line 18 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                Write(Html.AntiForgeryToken());

#line default
#line hidden
                EndContext();
                BeginContext(715, 1936, true);
                WriteLiteral(@"
                <input type=""hidden"" id=""ArrID"" name=""ArrID"" value="""" />
                <input type=""hidden"" id=""ctrl"" value=""cpmenu"" />

                <script type=""text/javascript"">
                    var Search = [
                        ""filter_Search"", ""SearchText"",
                        ""filter_StartDate"", ""StartDate"",
                        ""filter_EndDate"", ""EndDate"",
                    ];
                    var SearchDefault = [
                        ""1"", ""PageIndex"",
                        ""1"", ""LangID"",
                        ""20"", ""PageSize""
                    ];
                </script>

                <div class=""card-header card-header-image text-right"">
                    <div class=""container-fluid"">
                        <div class=""row"">
                            <div class=""col-sm-12 col-md-6 col-lg-5"">
                                <div class=""row"">
                                    <div class=""col-sm-12 col-md-5"">
                        ");
                WriteLiteral(@"                <input id=""filter_StartDate"" type='text' class=""form-control datetimepicker"" name=""StartDate"" placeholder=""từ ngày"" />
                                    </div>
                                    <div class=""col-sm-12 col-md-5"">
                                        <input id=""filter_EndDate"" type='text' class=""form-control datetimepicker"" name=""EndDate"" placeholder=""đến ngày"" />
                                    </div>
                                    <div class=""col-md-2"">
                                        <a href=""javascript:void(0)"" class=""btn btn-sm btn-primary btn-fab"" onclick=""redirect('Index')""><i class=""material-icons"">search</i></a>
                                    </div>
                                </div>
                            </div>
                            <div class=""col-sm-12 col-md-6 col-lg-7"">
                                ");
                EndContext();
                BeginContext(2652, 107, false);
#line 52 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                Write(DynamicViews.GetCommand("create| add,delete|xóa,export| export,active|duyệt,nonactive|bỏ,clear| xóa cache"));

#line default
#line hidden
                EndContext();
                BeginContext(2759, 1489, true);
                WriteLiteral(@"
                            </div>
                        </div>
                    </div>
                </div>
                <div class=""card-body"">
                    <div class=""table-responsive"">
                        <table class=""table table-bordered""> 
                            <thead class=""text-light text-center"">
                                <tr>
                                    <th width=""5%"">
                                        <div class=""form-check"">
                                            <label class=""form-check-label"">
                                                <input class=""form-check-input"" type=""checkbox"" onclick=""checkall(this)"" />
                                                <span class=""form-check-sign"">
                                                    <span class=""check""></span>
                                                </span>
                                            </label>
                                        </div>");
                WriteLiteral(@"
                                    </th>
                                    <th>#</th>
                                    <th>Name</th>
                                    <th>Type</th>
                                    <th>Publish</th>
                                    <th>Create</th>
                                    <th>ID</th>
                                </tr>
                            </thead>
                            <tbody>
");
                EndContext();
#line 81 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"

                if (data != null)
                {
                    int count = data.Count;
                    for (int i = 0; i < count; i++)
                    {
                        var item = data[i];

#line default
#line hidden
                        BeginContext(4624, 329, true);
                        WriteLiteral(@"                                <tr>
                                    <td align=""center"">
                                        <div class=""form-check"">
                                            <label class=""form-check-label"">
                                                <input name=""cid"" class=""form-check-input""");
                        EndContext();
                        BeginWriteAttribute("value", " value=\"", 4953, "\"", 4969, 1);
#line 92 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                        WriteAttributeValue("", 4961, item.ID, 4961, 8, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(4970, 531, true);
                        WriteLiteral(@" type=""checkbox"" />
                                                <span class=""form-check-sign"">
                                                    <span class=""check""></span>
                                                </span>
                                            </label>
                                        </div>
                                    </td>
                                    <td align=""center"">
                                        <a class=""btn btn-sm btn-primary btn-round p-sm-1""");
                        EndContext();
                        BeginWriteAttribute("href", " href=\"", 5501, "\"", 5555, 1);
#line 100 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                        WriteAttributeValue("", 5508, Url.Action("edit", "cpmenu", new { id = item.ID }), 5508, 47, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(5556, 278, true);
                        WriteLiteral(@">
                                            <i class=""material-icons"">edit</i>
                                        </a>
                                    </td>
                                    <td align=""left"">
                                        <a class=""""");
                        EndContext();
                        BeginWriteAttribute("href", " href=\"", 5834, "\"", 5893, 1);
#line 105 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                        WriteAttributeValue("", 5841, Url.Action("index", "cpmenu", new { Record = item.ID }), 5841, 52, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(5894, 47, true);
                        WriteLiteral(">\r\n                                            ");
                        EndContext();
                        BeginContext(5942, 9, false);
#line 106 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                        Write(item.Name);

#line default
#line hidden
                        EndContext();
                        BeginContext(5951, 146, true);
                        WriteLiteral("\r\n                                        </a>\r\n                                    </td>\r\n                                    <td align=\"center\">");
                        EndContext();
                        BeginContext(6098, 9, false);
#line 109 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                        Write(item.Type);

#line default
#line hidden
                        EndContext();
                        BeginContext(6107, 104, true);
                        WriteLiteral("</td>\r\n                                    <td align=\"center\">\r\n                                        ");
                        EndContext();
                        BeginContext(6212, 46, false);
#line 111 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                        Write(DynamicViews.GetActive(item.ID, item.Activity));

#line default
#line hidden
                        EndContext();
                        BeginContext(6258, 142, true);
                        WriteLiteral("\r\n                                    </td>\r\n                                    <td align=\"center\">\r\n                                        ");
                        EndContext();
                        BeginContext(6401, 54, false);
#line 114 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                        Write(string.Format("{0:dd-MM-yyyy HH:mm:ss}", item.Created));

#line default
#line hidden
                        EndContext();
                        BeginContext(6455, 100, true);
                        WriteLiteral("\r\n                                    </td>\r\n                                    <td align=\"center\">");
                        EndContext();
                        BeginContext(6556, 7, false);
#line 116 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                        Write(item.ID);

#line default
#line hidden
                        EndContext();
                        BeginContext(6563, 46, true);
                        WriteLiteral("</td>\r\n                                </tr>\r\n");
                        EndContext();
#line 118 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                    }
                }


#line default
#line hidden
                BeginContext(6726, 136, true);
                WriteLiteral("                            </tbody>\r\n                        </table>\r\n                    </div>\r\n                </div>\r\n            ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(6869, 40, true);
            WriteLiteral("\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
#line 130 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"

            if (ViewBag.Message != null)
            {
                string message = ViewBag.Message;


#line default
#line hidden
                DefineSection("Scripts", async() => {
                    BeginContext(7022, 263, true);
                    WriteLiteral(@"
            <script type=""text/javascript"">
                $(""#message"").notify($(""#message"").html(), {
                    position: 'top left',
                    autoHide: false,
                    clickToHide: true,
                    className : '");
                    EndContext();
                    BeginContext(7286, 15, false);
#line 140 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
                    Write(ViewBag.TypeMsg);

#line default
#line hidden
                    EndContext();
                    BeginContext(7301, 55, true);
                    WriteLiteral("\'\r\n                });\r\n            </script>\r\n        ");
                    EndContext();
                }
                              );
#line 143 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPMenu\Index.cshtml"
            }

#line default
#line hidden
        }
예제 #10
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 4 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"

            ViewData["Title"] = "Quản lý tài nguyên";
            Layout            = "~/Views/Shared/_LayoutDefaults.cshtml";
            var data = ViewBag.Data as List <CPResourceEntity>;

            var    model      = ViewBag.Model as DefaultModel;
            string SearchText = string.IsNullOrEmpty(model.SearchText) ? string.Empty : model.SearchText;

#line default
#line hidden
            BeginContext(383, 130, true);
            WriteLiteral("<div class=\"row\">\r\n    <div class=\"col-md-12\">\r\n\r\n        <div id=\"message\" style=\"display:none; opacity:0; pointer-events:none\"> ");
            EndContext();
            BeginContext(514, 15, false);
#line 15 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
            Write(ViewBag.Message);

#line default
#line hidden
            EndContext();
            BeginContext(529, 51, true);
            WriteLiteral(" </div>\r\n\r\n        <div class=\"card\">\r\n            ");
            EndContext();
            BeginContext(580, 5555, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4acfdf1258985176775f599175aef88fa79b30fa6147", async() => {
                BeginContext(686, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(705, 23, false);
#line 19 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
                Write(Html.AntiForgeryToken());

#line default
#line hidden
                EndContext();
                BeginContext(728, 1940, true);
                WriteLiteral(@"
                <input type=""hidden"" id=""ArrID"" name=""ArrID"" value="""" />
                <input type=""hidden"" id=""ctrl"" value=""CPResource"" />

                <script type=""text/javascript"">
                    var Search = [
                        ""filter_Search"", ""SearchText"",
                        ""filter_StartDate"", ""StartDate"",
                        ""filter_EndDate"", ""EndDate"",
                    ];
                    var SearchDefault = [
                        ""1"", ""PageIndex"",
                        ""1"", ""LangID"",
                        ""20"", ""PageSize""
                    ];
                </script>

                <div class=""card-header card-header-image text-right"">
                    <div class=""container-fluid"">
                        <div class=""row"">
                            <div class=""col-sm-12 col-md-6 col-lg-5"">
                                <div class=""row"">
                                    <div class=""col-sm-12 col-md-5"">
                    ");
                WriteLiteral(@"                    <input id=""filter_StartDate"" type='text' class=""form-control datetimepicker"" name=""StartDate"" placeholder=""từ ngày"" />
                                    </div>
                                    <div class=""col-sm-12 col-md-5"">
                                        <input id=""filter_EndDate"" type='text' class=""form-control datetimepicker"" name=""EndDate"" placeholder=""đến ngày"" />
                                    </div>
                                    <div class=""col-md-2"">
                                        <a href=""javascript:void(0)"" class=""btn btn-sm btn-primary btn-fab"" onclick=""redirect('Index')""><i class=""material-icons"">search</i></a>
                                    </div>
                                </div>
                            </div>
                            <div class=""col-sm-12 col-md-6 col-lg-7"">
                                ");
                EndContext();
                BeginContext(2669, 113, false);
#line 53 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
                Write(DynamicViews.GetCommand("create| add,active|duyệt,nonactive|bỏ duyệt,export| export,delete|xóa,clear| xóa cache"));

#line default
#line hidden
                EndContext();
                BeginContext(2782, 1385, true);
                WriteLiteral(@"
                            </div>
                        </div>
                    </div>
                </div>
                <div class=""card-body"">
                    <div class=""table-responsive"">
                        <table class=""table table-bordered"">
                            <thead class=""text-light text-center"">
                                <tr>
                                    <th width=""5%"">
                                        <div class=""form-check"">
                                            <label class=""form-check-label"">
                                                <input class=""form-check-input"" type=""checkbox"" onclick=""checkall(this)"" />
                                                <span class=""form-check-sign"">
                                                    <span class=""check""></span>
                                                </span>
                                            </label>
                                        </div>
");
                WriteLiteral(@"
                                    </th>
                                    <th>ID</th>
                                    <th>Name</th>
                                    <th>Code</th>
                                    <th>Value</th>
                                </tr>
                            </thead>
                            <tbody>
");
                EndContext();
#line 80 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"

                if (data != null)
                {
                    int count = data.Count;
                    for (int i = 0; i < count; i++)
                    {
                        var item = data[i];

#line default
#line hidden
                        BeginContext(4543, 389, true);
                        WriteLiteral(@"                                            <tr>
                                                <td align=""center"">
                                                    <div class=""form-check"">
                                                        <label class=""form-check-label"">
                                                            <input name=""cid"" class=""form-check-input""");
                        EndContext();
                        BeginWriteAttribute("value", " value=\"", 4932, "\"", 4948, 1);
#line 91 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
                        WriteAttributeValue("", 4940, item.ID, 4940, 8, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(4949, 523, true);
                        WriteLiteral(@" type=""checkbox"" />
                                                            <span class=""form-check-sign"">
                                                                <span class=""check""></span>
                                                            </span>
                                                        </label>
                                                    </div>
                                                </td>
                                                <td align=""center"">");
                        EndContext();
                        BeginContext(5473, 7, false);
#line 98 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
                        Write(item.ID);

#line default
#line hidden
                        EndContext();
                        BeginContext(5480, 94, true);
                        WriteLiteral("</td>\r\n                                                <td align=\"center\"><a class=\"text-info\"");
                        EndContext();
                        BeginWriteAttribute("href", " href=\"", 5574, "\"", 5632, 1);
#line 99 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
                        WriteAttributeValue("", 5581, Url.Action("edit", "CPResource", new { id = item.ID }), 5581, 51, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(5633, 1, true);
                        WriteLiteral(">");
                        EndContext();
                        BeginContext(5635, 9, false);
#line 99 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
                        Write(item.Name);

#line default
#line hidden
                        EndContext();
                        BeginContext(5644, 78, true);
                        WriteLiteral("</a></td>\r\n                                                <td align=\"center\">");
                        EndContext();
                        BeginContext(5723, 9, false);
#line 100 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
                        Write(item.Code);

#line default
#line hidden
                        EndContext();
                        BeginContext(5732, 74, true);
                        WriteLiteral("</td>\r\n                                                <td align=\"center\">");
                        EndContext();
                        BeginContext(5807, 10, false);
#line 101 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
                        Write(item.Value);

#line default
#line hidden
                        EndContext();
                        BeginContext(5817, 58, true);
                        WriteLiteral("</td>\r\n                                            </tr>\r\n");
                        EndContext();
#line 103 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
                    }
                }


#line default
#line hidden
                BeginContext(5992, 136, true);
                WriteLiteral("                            </tbody>\r\n                        </table>\r\n                    </div>\r\n                </div>\r\n            ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(6135, 40, true);
            WriteLiteral("\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
#line 115 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"

            if (ViewBag.Message != null)
            {
                string message = ViewBag.Message;


#line default
#line hidden
                DefineSection("Scripts", async() => {
                    BeginContext(6288, 263, true);
                    WriteLiteral(@"
            <script type=""text/javascript"">
                $(""#message"").notify($(""#message"").html(), {
                    position: 'top left',
                    autoHide: false,
                    clickToHide: true,
                    className : '");
                    EndContext();
                    BeginContext(6552, 15, false);
#line 125 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
                    Write(ViewBag.TypeMsg);

#line default
#line hidden
                    EndContext();
                    BeginContext(6567, 55, true);
                    WriteLiteral("\'\r\n                });\r\n            </script>\r\n        ");
                    EndContext();
                }
                              );
#line 128 "E:\Dashbroad\Project_True\DashBoard_Final\AdminPage\Views\CPResource\Index.cshtml"
            }

#line default
#line hidden
        }
예제 #11
0
파일: ViewSet.cs 프로젝트: zpavic/dotnet
 private DynamicView FindDynamicView(DynamicView dynamicView)
 {
     return(DynamicViews.FirstOrDefault(view => view.Key == dynamicView.Key));
 }
예제 #12
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 4 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"

            ViewData["Title"] = "Quản lý quyền";
            Layout            = "~/Views/Shared/_LayoutDefaults.cshtml";
            var data = ViewBag.Data as List <CPRoleEntity>;

            var    model      = ViewBag.Model as DefaultModel;
            string SearchText = string.IsNullOrEmpty(model.SearchText) ? string.Empty : model.SearchText;

#line default
#line hidden
            BeginContext(381, 130, true);
            WriteLiteral("<div class=\"row\">\r\n    <div class=\"col-md-12\">\r\n\r\n        <div id=\"message\" style=\"display:none; opacity:0; pointer-events:none\"> ");
            EndContext();
            BeginContext(512, 15, false);
#line 15 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
            Write(ViewBag.Message);

#line default
#line hidden
            EndContext();
            BeginContext(527, 51, true);
            WriteLiteral(" </div>\r\n\r\n        <div class=\"card\">\r\n            ");
            EndContext();
            BeginContext(578, 6862, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "df16d18e2325d67d29cc7c36c28a62972b57cd166328", async() => {
                BeginContext(680, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(699, 23, false);
#line 19 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                Write(Html.AntiForgeryToken());

#line default
#line hidden
                EndContext();
                BeginContext(722, 934, true);
                WriteLiteral(@"
                <input type=""hidden"" id=""ArrID"" name=""ArrID"" value="""" />
                <input type=""hidden"" id=""ctrl"" value=""cprole"" />

                <script type=""text/javascript"">
                    var Search = [
                        ""filter_Search"", ""SearchText"",
                        //""filter_StartDate"", ""StartDate"",
                        //""filter_EndDate"", ""EndDate"",
                    ];
                    var SearchDefault = [
                        ""1"", ""PageIndex"",
                        ""1"", ""LangID"",
                        ""20"", ""PageSize""
                    ];
                </script>

                <div class=""card-header card-header-image text-right"">
                    <div class=""container-fluid"">
                        <div class=""row"">
                            <div class=""col-sm-12 col-md-6 col-lg-5"">
                                <div class=""row"">
");
                EndContext();
                BeginContext(2487, 179, true);
                WriteLiteral("                                </div>\r\n                            </div>\r\n                            <div class=\"col-sm-12 col-md-6 col-lg-7\">\r\n                                ");
                EndContext();
                BeginContext(2667, 81, false);
#line 53 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                Write(DynamicViews.GetCommand("create| add,delete|xóa,export| export,clear| xóa cache"));

#line default
#line hidden
                EndContext();
                BeginContext(2748, 1391, true);
                WriteLiteral(@"
                            </div>
                        </div>
                    </div>
                </div>
                <div class=""card-body"">
                    <div class=""table-responsive"">
                        <table class=""table table-bordered""> 
                            <thead class=""text-light text-center"">
                                <tr>
                                    <th width=""5%"">
                                        <div class=""form-check"">
                                            <label class=""form-check-label"">
                                                <input class=""form-check-input"" type=""checkbox"" onclick=""checkall(this)"" />
                                                <span class=""form-check-sign"">
                                                    <span class=""check""></span>
                                                </span>
                                            </label>
                                        </div>");
                WriteLiteral(@"
                                    </th>
                                    <th>ID</th>
                                    <th>Phân quyền</th>
                                    <th>Name</th>
                                    <th>Code</th>
                                </tr>
                            </thead>
                            <tbody>
");
                EndContext();
#line 80 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"

                if (data != null)
                {
                    int count = data.Count;
                    for (int i = 0; i < count; i++)
                    {
                        var item = data[i];

#line default
#line hidden
                        BeginContext(4515, 239, true);
                        WriteLiteral("                                <tr>\r\n                                    <td align=\"center\">\r\n                                        <div class=\"form-check\">\r\n                                            <label class=\"form-check-label\">\r\n");
                        EndContext();
#line 91 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"

                        if (item.Lock)
                        {
#line default
#line hidden
                            BeginContext(4929, 133, true);
                            WriteLiteral("                                                        <input name=\"\" class=\"form-check-input\" value=\"\" type=\"checkbox\" disabled/>\r\n");
                            EndContext();
#line 95 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                        }
                        else
                        {
#line default
#line hidden
                            BeginContext(5230, 98, true);
                            WriteLiteral("                                                        <input name=\"cid\" class=\"form-check-input\"");
                            EndContext();
                            BeginWriteAttribute("value", " value=\"", 5328, "\"", 5344, 1);
#line 98 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                            WriteAttributeValue("", 5336, item.ID, 5336, 8, false);

#line default
#line hidden
                            EndWriteAttribute();
                            BeginContext(5345, 21, true);
                            WriteLiteral(" type=\"checkbox\" />\r\n");
                            EndContext();
#line 99 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                        }


#line default
#line hidden
                        BeginContext(5472, 418, true);
                        WriteLiteral(@"                                                <span class=""form-check-sign"">
                                                    <span class=""check""></span>
                                                </span>
                                            </label>
                                        </div>
                                    </td>
                                    <td align=""center"">");
                        EndContext();
                        BeginContext(5891, 7, false);
#line 107 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                        Write(item.ID);

#line default
#line hidden
                        EndContext();
                        BeginContext(5898, 154, true);
                        WriteLiteral("</td>\r\n                                    <td align=\"center\">\r\n                                        <a class=\"btn btn-sm btn-primary btn-round p-sm-1\"");
                        EndContext();
                        BeginWriteAttribute("href", " href=\"", 6052, "\"", 6110, 1);
#line 109 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                        WriteAttributeValue("", 6059, Url.Action("create", "cpaccess", new { id = item.ID }), 6059, 51, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(6111, 178, true);
                        WriteLiteral(">\r\n                                            <i class=\"material-icons\">group_work</i>\r\n                                        </a>\r\n                                    </td>\r\n");
                        EndContext();
#line 113 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"

                        if (item.Lock)
                        {
#line default
#line hidden
                            BeginContext(6428, 110, true);
                            WriteLiteral("                                            <td align=\"center\"><a class=\"text-info\" href=\"javascript:void(0)\">");
                            EndContext();
                            BeginContext(6539, 9, false);
#line 116 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                            Write(item.Name);

#line default
#line hidden
                            EndContext();
                            BeginContext(6548, 11, true);
                            WriteLiteral("</a></td>\r\n");
                            EndContext();
#line 117 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                        }
                        else
                        {
#line default
#line hidden
                            BeginContext(6691, 83, true);
                            WriteLiteral("                                            <td align=\"center\"><a class=\"text-info\"");
                            EndContext();
                            BeginWriteAttribute("href", " href=\"", 6774, "\"", 6828, 1);
#line 120 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                            WriteAttributeValue("", 6781, Url.Action("edit", "cprole", new { id = item.ID }), 6781, 47, false);

#line default
#line hidden
                            EndWriteAttribute();
                            BeginContext(6829, 1, true);
                            WriteLiteral(">");
                            EndContext();
                            BeginContext(6831, 9, false);
#line 120 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                            Write(item.Name);

#line default
#line hidden
                            EndContext();
                            BeginContext(6840, 11, true);
                            WriteLiteral("</a></td>\r\n");
                            EndContext();
#line 121 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                        }


#line default
#line hidden
                        BeginContext(6933, 55, true);
                        WriteLiteral("                                    <td align=\"center\">");
                        EndContext();
                        BeginContext(6989, 9, false);
#line 123 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                        Write(item.Code);

#line default
#line hidden
                        EndContext();
                        BeginContext(6998, 7, true);
                        WriteLiteral("</td>\r\n");
                        EndContext();
                        BeginContext(7141, 39, true);
                        WriteLiteral("                                </tr>\r\n");
                        EndContext();
#line 128 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                    }
                }


#line default
#line hidden
                BeginContext(7297, 136, true);
                WriteLiteral("                            </tbody>\r\n                        </table>\r\n                    </div>\r\n                </div>\r\n            ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(7440, 40, true);
            WriteLiteral("\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
#line 140 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"

            if (ViewBag.Message != null)
            {
                string message = ViewBag.Message;


#line default
#line hidden
                DefineSection("Scripts", async() => {
                    BeginContext(7593, 263, true);
                    WriteLiteral(@"
            <script type=""text/javascript"">
                $(""#message"").notify($(""#message"").html(), {
                    position: 'top left',
                    autoHide: false,
                    clickToHide: true,
                    className : '");
                    EndContext();
                    BeginContext(7857, 15, false);
#line 150 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
                    Write(ViewBag.TypeMsg);

#line default
#line hidden
                    EndContext();
                    BeginContext(7872, 55, true);
                    WriteLiteral("\'\r\n                });\r\n            </script>\r\n        ");
                    EndContext();
                }
                              );
#line 153 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPRole\Index.cshtml"
            }

#line default
#line hidden
        }
예제 #13
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 4 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"

            ViewData["Title"] = "Quản lý ngôn ngữ";
            Layout            = "~/Views/Shared/_LayoutDefaults.cshtml";
            var data = ViewBag.Data as List <CPLangEntity>;

            var    model      = ViewBag.Model as DefaultModel;
            string SearchText = string.IsNullOrEmpty(model.SearchText) ? string.Empty : model.SearchText;

#line default
#line hidden
            BeginContext(387, 130, true);
            WriteLiteral("<div class=\"row\">\r\n    <div class=\"col-md-12\">\r\n\r\n        <div id=\"message\" style=\"display:none; opacity:0; pointer-events:none\"> ");
            EndContext();
            BeginContext(518, 15, false);
#line 15 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
            Write(ViewBag.Message);

#line default
#line hidden
            EndContext();
            BeginContext(533, 51, true);
            WriteLiteral(" </div>\r\n\r\n        <div class=\"card\">\r\n            ");
            EndContext();
            BeginContext(584, 5683, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4c2e34016a9ac52fc03429b187fecb4bd27ffaf36330", async() => {
                BeginContext(685, 18, true);
                WriteLiteral("\r\n                ");
                EndContext();
                BeginContext(704, 23, false);
#line 19 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
                Write(Html.AntiForgeryToken());

#line default
#line hidden
                EndContext();
                BeginContext(727, 1936, true);
                WriteLiteral(@"
                <input type=""hidden"" id=""ArrID"" name=""ArrID"" value="""" />
                <input type=""hidden"" id=""ctrl"" value=""CPLang"" />

                <script type=""text/javascript"">
                    var Search = [
                        ""filter_Search"", ""SearchText"",
                        ""filter_StartDate"", ""StartDate"",
                        ""filter_EndDate"", ""EndDate"",
                    ];
                    var SearchDefault = [
                        ""1"", ""PageIndex"",
                        ""1"", ""LangID"",
                        ""20"", ""PageSize""
                    ];
                </script>

                <div class=""card-header card-header-image text-right"">
                    <div class=""container-fluid"">
                        <div class=""row"">
                            <div class=""col-sm-12 col-md-6 col-lg-5"">
                                <div class=""row"">
                                    <div class=""col-sm-12 col-md-5"">
                        ");
                WriteLiteral(@"                <input id=""filter_StartDate"" type='text' class=""form-control datetimepicker"" name=""StartDate"" placeholder=""từ ngày"" />
                                    </div>
                                    <div class=""col-sm-12 col-md-5"">
                                        <input id=""filter_EndDate"" type='text' class=""form-control datetimepicker"" name=""EndDate"" placeholder=""đến ngày"" />
                                    </div>
                                    <div class=""col-md-2"">
                                        <a href=""javascript:void(0)"" class=""btn btn-sm btn-primary btn-fab"" onclick=""redirect('Index')""><i class=""material-icons"">search</i></a>
                                    </div>
                                </div>
                            </div>
                            <div class=""col-sm-12 col-md-6 col-lg-7"">
                                ");
                EndContext();
                BeginContext(2664, 113, false);
#line 53 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
                Write(DynamicViews.GetCommand("create| add,active|duyệt,nonactive|bỏ duyệt,export| export,delete|xóa,clear| xóa cache"));

#line default
#line hidden
                EndContext();
                BeginContext(2777, 1387, true);
                WriteLiteral(@"
                            </div>
                        </div>
                    </div>
                </div>
                <div class=""card-body"">
                    <div class=""table-responsive"">
                        <table class=""table table-bordered"">
                            <thead class=""text-light text-center"">
                                <tr>
                                    <th width=""5%"">
                                        <div class=""form-check"">
                                            <label class=""form-check-label"">
                                                <input class=""form-check-input"" type=""checkbox"" onclick=""checkall(this)"" />
                                                <span class=""form-check-sign"">
                                                    <span class=""check""></span>
                                                </span>
                                            </label>
                                        </div>
");
                WriteLiteral(@"
                                    </th>
                                    <th>ID</th>
                                    <th>Name</th>
                                    <th>Code</th>
                                    <th>Publish</th>
                                </tr>
                            </thead>
                            <tbody>
");
                EndContext();
#line 80 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"

                if (data != null)
                {
                    int count = data.Count;
                    for (int i = 0; i < count; i++)
                    {
                        var item = data[i];

#line default
#line hidden
                        BeginContext(4540, 389, true);
                        WriteLiteral(@"                                            <tr>
                                                <td align=""center"">
                                                    <div class=""form-check"">
                                                        <label class=""form-check-label"">
                                                            <input name=""cid"" class=""form-check-input""");
                        EndContext();
                        BeginWriteAttribute("value", " value=\"", 4929, "\"", 4945, 1);
#line 91 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
                        WriteAttributeValue("", 4937, item.ID, 4937, 8, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(4946, 523, true);
                        WriteLiteral(@" type=""checkbox"" />
                                                            <span class=""form-check-sign"">
                                                                <span class=""check""></span>
                                                            </span>
                                                        </label>
                                                    </div>
                                                </td>
                                                <td align=""center"">");
                        EndContext();
                        BeginContext(5470, 7, false);
#line 98 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
                        Write(item.ID);

#line default
#line hidden
                        EndContext();
                        BeginContext(5477, 94, true);
                        WriteLiteral("</td>\r\n                                                <td align=\"center\"><a class=\"text-info\"");
                        EndContext();
                        BeginWriteAttribute("href", " href=\"", 5571, "\"", 5625, 1);
#line 99 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
                        WriteAttributeValue("", 5578, Url.Action("edit", "CPlang", new { id = item.ID }), 5578, 47, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(5626, 1, true);
                        WriteLiteral(">");
                        EndContext();
                        BeginContext(5628, 9, false);
#line 99 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
                        Write(item.Name);

#line default
#line hidden
                        EndContext();
                        BeginContext(5637, 78, true);
                        WriteLiteral("</a></td>\r\n                                                <td align=\"center\">");
                        EndContext();
                        BeginContext(5716, 9, false);
#line 100 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
                        Write(item.Code);

#line default
#line hidden
                        EndContext();
                        BeginContext(5725, 128, true);
                        WriteLiteral("</td>\r\n                                                <td align=\"center\">\r\n                                                    ");
                        EndContext();
                        BeginContext(5854, 45, false);
#line 102 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
                        Write(DynamicViews.GetActive(item.ID, item.Activity));

#line default
#line hidden
                        EndContext();
                        BeginContext(5899, 108, true);
                        WriteLiteral("\r\n                                                </td>\r\n                                            </tr>\r\n");
                        EndContext();
#line 105 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
                    }
                }


#line default
#line hidden
                BeginContext(6124, 136, true);
                WriteLiteral("                            </tbody>\r\n                        </table>\r\n                    </div>\r\n                </div>\r\n            ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(6267, 40, true);
            WriteLiteral("\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
#line 117 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"

            if (ViewBag.Message != null)
            {
                string message = ViewBag.Message;


#line default
#line hidden
                DefineSection("Scripts", async() => {
                    BeginContext(6420, 263, true);
                    WriteLiteral(@"
            <script type=""text/javascript"">
                $(""#message"").notify($(""#message"").html(), {
                    position: 'top left',
                    autoHide: false,
                    clickToHide: true,
                    className : '");
                    EndContext();
                    BeginContext(6684, 15, false);
#line 127 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
                    Write(ViewBag.TypeMsg);

#line default
#line hidden
                    EndContext();
                    BeginContext(6699, 55, true);
                    WriteLiteral("\'\r\n                });\r\n            </script>\r\n        ");
                    EndContext();
                }
                              );
#line 130 "F:\Users\Hoang Thai Long\Source\Repos\hoang-thai-long\iShare\AdminPage_MongoDb\Views\CPLang\Index.cshtml"
            }

#line default
#line hidden
        }