Add displayname for the found guardian combobox

This commit is contained in:
kougyokugentou 2021-01-24 22:48:07 -08:00
parent dfad7eb168
commit c22b02600e

View File

@ -15,5 +15,13 @@ namespace GreatHomeChildcare.Models
public string EmailAddress { get; set; }
public int PinNumber { get; set; }
public int isAdmin { get; set; }
//readonly property to populate a single guardian's full name.
// this is a "Get" only property
public string DisplayName
{
get =>
$"{LastName}, {FirstName}";
}
}
}