From 1a6a642626739e5df6973ec6f637cf9321fb56d6 Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Thu, 16 May 2024 13:55:28 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=A4=D0=98=D0=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Medical/MedicalDatabaseContracts/Models/AbstractPersonModel.cs | 2 +- .../ViewModels/AbstractPersonViewModel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Medical/MedicalDatabaseContracts/Models/AbstractPersonModel.cs b/Medical/MedicalDatabaseContracts/Models/AbstractPersonModel.cs index 49b5f50..22ca14b 100644 --- a/Medical/MedicalDatabaseContracts/Models/AbstractPersonModel.cs +++ b/Medical/MedicalDatabaseContracts/Models/AbstractPersonModel.cs @@ -10,7 +10,7 @@ namespace MedicalDatabaseContracts.Models public string PhoneNumber { get; set; } = string.Empty; public string GetFIO() { - return string.Join(" ", Surname, Name, Patronymic ?? string.Empty); + return Surname + " " + Name + " " + Patronymic ?? string.Empty; } } } diff --git a/Medical/MedicalDatabaseContracts/ViewModels/AbstractPersonViewModel.cs b/Medical/MedicalDatabaseContracts/ViewModels/AbstractPersonViewModel.cs index f5ebc4e..cee5d28 100644 --- a/Medical/MedicalDatabaseContracts/ViewModels/AbstractPersonViewModel.cs +++ b/Medical/MedicalDatabaseContracts/ViewModels/AbstractPersonViewModel.cs @@ -15,7 +15,7 @@ namespace MedicalDatabaseContracts.ViewModels public string PhoneNumber { get; set; } = string.Empty; public string GetFIO() { - return Name + " " + Surname + " " + Patronymic ?? string.Empty; + return Surname + " " + Name + " " + Patronymic ?? string.Empty; } public override string ToString() {