public Person(Passport passport, string CustomInformation, EmailOrMailAddress emailOrMailAddress) { this.UID = Guid.NewGuid(); this.PersonPassports = new ObservableCollection <Passport>(); this.PersonPassports.Add(passport); }
public Passport(string Series, string Number, string LastName, string FirstName, string MiddleName, bool GenderID, Address Address, string UnitCode, DateTime BirthDay, Address BirthPlace, Passport PreviusPassport, bool Actual) { this.Series = Series; this.Number = Number; this.LastName = LastName; this.FirstName = FirstName; this.MiddleName = MiddleName; this.GenderID = GenderID; this.Address = Address; this.UnitCode = UnitCode; this.BirthDay = BirthDay; this.PreviusPassport = PreviusPassport; this.Actual = true; }