CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptClientApp/Views/Home/Profile.cshtml

23 lines
468 B
Plaintext
Raw Normal View History

2023-05-17 01:00:04 +04:00
@using BankYouBankruptContracts.ViewModels
@model ClientViewModel
@{
2023-05-17 15:26:51 +04:00
ViewData["Title"] = "Страница пользователя";
2023-05-17 01:00:04 +04:00
}
<div class="text-center">
<h1 class="display-4">Страница пользователя</h1>
</div>
<div class="text-center">
@{
if (Model == null)
{
<h3 class="display-4">Сначала авторизируйтесь</h3>
return;
}
<p>Здравствуйтe, @Model.Name @Model.Patronymic</p>
}
</div>