Implement people management features by adding API endpoints for retrieving school rosters and individual person cards. Enhance the UI to support a people browser with filtering and pagination capabilities. Update localization strings for improved user experience and ensure robust handling of person data. Revise documentation to reflect new API functionalities and update tests to validate the new features.
This commit is contained in:
@@ -49,7 +49,11 @@ public sealed record PersonName(
|
||||
string Patronymic,
|
||||
CaseTable GivenCases,
|
||||
CaseTable SurnameCases,
|
||||
CaseTable PatronymicCases);
|
||||
CaseTable PatronymicCases)
|
||||
{
|
||||
/// <summary>Nominative ФИО as the list and cards show it: surname, given, patronymic.</summary>
|
||||
public string Full => string.Join(' ', new[] { Surname, Given, Patronymic }.Where(part => part.Length > 0));
|
||||
}
|
||||
|
||||
public sealed record Family(
|
||||
string Id,
|
||||
|
||||
Reference in New Issue
Block a user