Lab is passed
This commit is contained in:
parent
3ba1703499
commit
0b6a621b48
@ -37,15 +37,12 @@ public class Message : IMessageInfoModel
|
|||||||
MessageId = model.MessageId,
|
MessageId = model.MessageId,
|
||||||
SenderName = model.SenderName,
|
SenderName = model.SenderName,
|
||||||
DateDelivery = model.DateDelivery,
|
DateDelivery = model.DateDelivery,
|
||||||
|
IsRead = model.IsRead
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Update(MessageInfoBindingModel model)
|
public void Update(MessageInfoBindingModel model)
|
||||||
{
|
{
|
||||||
if (model == null)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Reply = model.Reply;
|
Reply = model.Reply;
|
||||||
IsRead = model.IsRead;
|
IsRead = model.IsRead;
|
||||||
}
|
}
|
||||||
@ -58,5 +55,7 @@ public class Message : IMessageInfoModel
|
|||||||
MessageId = MessageId,
|
MessageId = MessageId,
|
||||||
SenderName = SenderName,
|
SenderName = SenderName,
|
||||||
DateDelivery = DateDelivery,
|
DateDelivery = DateDelivery,
|
||||||
|
IsRead = IsRead,
|
||||||
|
Reply = Reply
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user