public bool Compare(UIUser usr) { return(this.Email == usr.Email && this.FirstName == usr.FirstName && this.LastName == usr.LastName && this.Address == usr.Address && this.PostalCode == usr.PostalCode && this.Gender == usr.Gender && this.Description == usr.Description); }
public UIUser(UIUser usr) : base() { this.UserId = usr.UserId; this.UserName = usr.UserName; this.Email = usr.Email; this.FirstName = usr.FirstName; this.LastName = usr.LastName; this.Address = usr.Address; this.PostalCode = usr.PostalCode; this.Gender = usr.Gender; this.IsActive = usr.IsActive; this.Password = usr.Password; this.SecurityToken = usr.SecurityToken; this.Description = usr.Description; this.ProfilePhotoUrl = usr.ProfilePhotoUrl; this.DBInstance = usr.DBInstance; this.DefaultController = usr.DefaultController; this.DefaultView = usr.DefaultView; }