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