Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            PostEN t = obj as PostEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
 public PostEN(PostEN post)
 {
     this.init(Id, post.Created_at, post.Modified_at, post.Stake, post.Description, post.Private_, post.Pick, post.Tipster, post.TotalOdd, post.PostResult);
 }