public void Update(ProviderMember member)
 {
     // update all values
     this.Email     = member.Email.Scrub();
     this.FirstName = member.FirstName.Scrub();
     this.LastName  = member.LastName.Scrub();
     this.Phone     = member.Phone.Scrub();
 }
        public bool HasChanged(ProviderMember member)
        {
            if (this.Email != member.Email.Scrub() ||
                this.FirstName != member.FirstName.Scrub() ||
                this.LastName != member.LastName.Scrub() ||
                this.Phone != member.Phone.Scrub())
            {
                return(true);
            }

            return(false);
        }
 public void Update(ProviderMember member)
 {
     this.ProviderMembers.Save(member);
 }