fix: update gender handling in Create and CreateEmployee views

This commit is contained in:
2025-09-15 16:12:17 +03:30
parent c3cb3df3d3
commit 8eded713da
3 changed files with 12 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ public class UidBasicInformation
{
"GENDER_MALE" => Application.Gender.Male,
"GENDER_FEMALE" => Application.Gender.Female,
_ => throw new ArgumentOutOfRangeException()
_ => Application.Gender.None
};
}
public record IdentificationInformation(string NationalId, string BirthDate, string ShenasnameSeri, string ShenasnameSerial, string ShenasnamehNumber);