From c1e5227289000dc60568368fc807d23a27cdddd8 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sun, 25 Feb 2024 15:57:59 +0000 Subject: [PATCH] feat: add login/dashboard link to footer --- OliverBooth/Pages/Shared/_Layout.cshtml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/OliverBooth/Pages/Shared/_Layout.cshtml b/OliverBooth/Pages/Shared/_Layout.cshtml index fe35a56..7d9c40b 100644 --- a/OliverBooth/Pages/Shared/_Layout.cshtml +++ b/OliverBooth/Pages/Shared/_Layout.cshtml @@ -1,6 +1,10 @@ @using OliverBooth.Data.Blog +@using OliverBooth.Data.Web @using OliverBooth.Services @inject IBlogPostService BlogPostService +@inject IUserService UserService +@inject ISessionService SessionService + @{ HttpRequest request = Context.Request; var url = new Uri($"{request.Scheme}://{request.Host}{request.Path}{request.QueryString}"); @@ -129,6 +133,15 @@