public static Shared.Gender Convert(this Entities.Gender gender) => (Shared.Gender)Enum.Parse(typeof(Shared.Gender), gender.ToString());
public static Shared.Gender ToGender(this Entities.Gender gender) => Enum.Parse <Shared.Gender>(gender.ToString());