From 5a49e270b9e0897a07024c805d3e58e70d8b89e0 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Mon, 7 Feb 2022 20:00:51 +0000 Subject: [PATCH] Updated Navbar Layout --- Views/Shared/_Layout.cshtml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/Views/Shared/_Layout.cshtml b/Views/Shared/_Layout.cshtml index dcbba73..26eb3ea 100644 --- a/Views/Shared/_Layout.cshtml +++ b/Views/Shared/_Layout.cshtml @@ -1,4 +1,8 @@ - +@using Microsoft.AspNetCore.Http; +@using Microsoft.AspNetCore.Mvc; +@using EFB.Sessions; + + @@ -21,7 +25,34 @@ + + + + + + @{ + UserModel user = Context.Session.GetObject("User"); + if (user != null && user.UserToken.TokenValue != null) + { + + } + } + + +