public override bool Equals(object obj) { if (obj == null) { return(false); } NotificacionMensajeEN t = obj as NotificacionMensajeEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public NotificacionMensajeEN(NotificacionMensajeEN notificacionMensaje) { this.init(Id, notificacionMensaje.MensajeGenerador, notificacionMensaje.Titulo, notificacionMensaje.Mensaje, notificacionMensaje.NotificacionesGeneradas, notificacionMensaje.Fecha); }