Beispiel #1
0
        public override bool Equals(object obj)
        {
            var ucesnik = obj as Ucesnik;

            if (ucesnik is null)
            {
                return(false);
            }

            return(UcesnikID.Equals(ucesnik.UcesnikID));
        }
Beispiel #2
0
 public override int GetHashCode() => UcesnikID.GetHashCode();