public override bool Equals(object obj) { if (obj == null) { return(false); } BebidaEN t = obj as BebidaEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public BebidaEN(BebidaEN bebida) { this.init(Id, bebida.Precio, bebida.Nombre, bebida.Foto, bebida.LineaPedido, bebida.NumVeces); }