public override bool Equals(object obj) { if (obj == null) { return(false); } ClienteEN t = obj as ClienteEN; if (t == null) { return(false); } if (NIF.Equals(t.NIF)) { return(true); } else { return(false); } }
public override bool Equals(object obj) { if (obj == null) { return(false); } AdministradorEN t = obj as AdministradorEN; if (t == null) { return(false); } if (NIF.Equals(t.NIF)) { return(true); } else { return(false); } }