This commit is contained in:
Данияр Аглиуллов 2023-03-13 19:37:04 +04:00
parent 582d187600
commit d56858c6f6

View File

@ -18,7 +18,7 @@ namespace ConfectioneryListImplement
{
foreach (var message in _source.Messages)
{
if (model.MessageId != null && model.MessageId == message.MessageId)
if (model.MessageId != null && model.MessageId.Equals(message.MessageId))
return message.GetViewModel;
}
return null;