Lab is passed

This commit is contained in:
Viltskaa 2023-05-05 09:14:00 +04:00
parent 3ba1703499
commit 0b6a621b48

View File

@ -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
};
}