Поправил отображение ФИО

This commit is contained in:
Никита Потапов 2024-05-16 13:55:28 +04:00
parent 92d9928cd2
commit 1a6a642626
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}
}

View File

@ -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()
{