Commit bda3e985 authored by Almouhannad's avatar Almouhannad

(B) Fix Patient create method

parent 3f21bde7
...@@ -86,6 +86,9 @@ public sealed class Patient : Entity ...@@ -86,6 +86,9 @@ public sealed class Patient : Entity
#endregion #endregion
#region Gender #region Gender
if (gender is null)
throw new InvalidValuesDomainException<Gender>();
Gender? selectedGender; Gender? selectedGender;
Gender male = Genders.Male; Gender male = Genders.Male;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment