Exemple #1
0
        public override bool Equals(object obj)
        {
            Chamado chamadoId = (Chamado)obj;

            if (chamadoId != null && chamadoId.id == this.id)
            {
                return(true);
            }

            return(false);
        }
        public override bool Equals(object obj)
        {
            Chamado chamado = (Chamado)obj;

            if (id == chamado.id)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }