person controller finished

This commit is contained in:
2024-10-03 16:18:17 +02:00
Unverified
parent 9a9e29ecf4
commit 4f16596ea3
14 changed files with 379 additions and 2 deletions

View File

@@ -25,5 +25,15 @@ public class PersonRequest : Person
GenderId = GenderId,
};
public void UpdatePerson(Database.Model.Person.Person person)
{
person.Name = Name;
person.FullName = FullName;
person.Description = Description;
person.BirthDate = BirthDate;
person.DeathDate = DeathDate;
person.GenderId = GenderId;
}
#endregion
}