Example #1
0
        public PropertyOwner UpdateOwner(PropertyOwner owner, string firstName, string lastName, string email,
                                         string telephone1, string telephone2, string avatarUrl, bool isActive,
                                         string notes, string streetNumber, string city, string stateProv, string country, string postZipCode)
        {
            OwnerAddress updatedAddress = new OwnerAddress(
                streetNumber, city, stateProv, country, postZipCode
                );

            owner.Update(firstName, lastName, email, telephone1, telephone2, avatarUrl, isActive, notes, updatedAddress);

            return(owner);
        }