Add displayname for the found guardian combobox
This commit is contained in:
parent
dfad7eb168
commit
c22b02600e
|
@ -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}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user