Поправил отображение ФИО
This commit is contained in:
parent
92d9928cd2
commit
1a6a642626
@ -10,7 +10,7 @@ namespace MedicalDatabaseContracts.Models
|
|||||||
public string PhoneNumber { get; set; } = string.Empty;
|
public string PhoneNumber { get; set; } = string.Empty;
|
||||||
public string GetFIO()
|
public string GetFIO()
|
||||||
{
|
{
|
||||||
return string.Join(" ", Surname, Name, Patronymic ?? string.Empty);
|
return Surname + " " + Name + " " + Patronymic ?? string.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ namespace MedicalDatabaseContracts.ViewModels
|
|||||||
public string PhoneNumber { get; set; } = string.Empty;
|
public string PhoneNumber { get; set; } = string.Empty;
|
||||||
public string GetFIO()
|
public string GetFIO()
|
||||||
{
|
{
|
||||||
return Name + " " + Surname + " " + Patronymic ?? string.Empty;
|
return Surname + " " + Name + " " + Patronymic ?? string.Empty;
|
||||||
}
|
}
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user