Esempio n. 1
0
        public override bool Equals(object obj)
        {
            ProfileModel secondObj = (ProfileModel)obj;

            return(this.GetHashCode() == secondObj.GetHashCode());
        }
Esempio n. 2
0
 public ProfileModel(ProfileModel model)
 {
     this.FavouriteRoom = model.FavouriteRoom;
     this.Floor         = model.Floor;
 }