public override int GetHashCode() { unchecked { var hashCode = AssigneeId.GetHashCode(); hashCode = (hashCode * 397) ^ ProjectId.GetHashCode(); hashCode = (hashCode * 397) ^ ProjectGroupId.GetHashCode(); hashCode = (hashCode * 397) ^ LoggedTimeId.GetHashCode(); return(hashCode); } }
public bool Equals(ProjectLogsDto other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(AssigneeId.Equals(other.AssigneeId) && ProjectId.Equals(other.ProjectId) && ProjectGroupId.Equals(other.ProjectGroupId) && LoggedTimeId.Equals(other.LoggedTimeId)); }