From b03d2237a7d01c9ed984c2fb767f78fe423b1f3b Mon Sep 17 00:00:00 2001 From: shadowik Date: Wed, 17 May 2023 13:47:26 +0400 Subject: [PATCH] Auth --- .../Views/Shared/_Layout.cshtml | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/BankYouBankrupt/BankYouBankruptClientApp/Views/Shared/_Layout.cshtml b/BankYouBankrupt/BankYouBankruptClientApp/Views/Shared/_Layout.cshtml index b086fb3..7585851 100644 --- a/BankYouBankrupt/BankYouBankruptClientApp/Views/Shared/_Layout.cshtml +++ b/BankYouBankrupt/BankYouBankruptClientApp/Views/Shared/_Layout.cshtml @@ -1,10 +1,15 @@ - +@using BankYouBankruptСlientApp + +@{ + bool authenticated = APIClient.Client != null; +} + - @ViewData["Title"] - BankYouBankruptClientApp + @ViewData["Title"] @@ -18,11 +23,14 @@ Банк "Вы банкрот"