From bf17712ae86aa502e3131525ab45695d8de1defa Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Thu, 4 Apr 2019 18:32:18 +0300 Subject: [PATCH] Use RenderSectionAsync instead of RenderSection --- .../Volo.AbpWebSite.Web/Pages/Shared/HomePageLayout.cshtml | 4 ++-- abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Layout.cshtml | 4 ++-- .../src/Volo.AbpWebSite.Web/Pages/Shared/LayoutEmpty.cshtml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/HomePageLayout.cshtml b/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/HomePageLayout.cshtml index c0b7a79b7c..a4c25f8a7b 100644 --- a/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/HomePageLayout.cshtml +++ b/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/HomePageLayout.cshtml @@ -17,7 +17,7 @@ @(ViewBag.Title == null ? "abp.io" : ViewBag.Title) @await Component.InvokeAsync(typeof(StandardMetaViewComponent)) - @RenderSection("styles", false) + @await RenderSectionAsync("styles", false) @@ -47,7 +47,7 @@ gtag('config', 'UA-49982725-4'); - @RenderSection("scripts", false) + @await RenderSectionAsync("scripts", false) \ No newline at end of file diff --git a/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Layout.cshtml b/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Layout.cshtml index 4fb93a6955..064008d0d6 100644 --- a/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Layout.cshtml +++ b/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Layout.cshtml @@ -17,7 +17,7 @@ @(ViewBag.Title == null ? "abp.io" : ViewBag.Title) @await Component.InvokeAsync(typeof(StandardMetaViewComponent)) - @RenderSection("styles", false) + @await RenderSectionAsync("styles", false) @@ -58,7 +58,7 @@ gtag('config', 'UA-49982725-4'); - @RenderSection("scripts", false) + @await RenderSectionAsync("scripts", false) \ No newline at end of file diff --git a/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/LayoutEmpty.cshtml b/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/LayoutEmpty.cshtml index 99ee20dacf..f3769b34aa 100644 --- a/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/LayoutEmpty.cshtml +++ b/abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/LayoutEmpty.cshtml @@ -18,7 +18,7 @@ @(ViewBag.Title == null ? "abp.io" : ViewBag.Title) @await Component.InvokeAsync(typeof(StandardMetaViewComponent)) - @RenderSection("styles", false) + @await RenderSectionAsync("styles", false) @@ -41,7 +41,7 @@ gtag('config', 'UA-49982725-4'); - @RenderSection("scripts", false) + @await RenderSectionAsync("scripts", false) \ No newline at end of file