Мегаважно!!!!!
This commit is contained in:
parent
27e75f84d9
commit
92fb9ddcc2
@ -44,7 +44,7 @@ namespace ComputersShopDatabaseImplement.Models
|
||||
{
|
||||
Body = model.Body,
|
||||
Subject = model.Subject,
|
||||
ClientId = context.Clients.FirstOrDefault(x => x.Email == model.SenderName).Id,
|
||||
ClientId = context.Clients.FirstOrDefault(x => x.Email == model.SenderName)?.Id,
|
||||
Client = context.Clients.FirstOrDefault(x => x.Email == model.SenderName),
|
||||
MessageId = model.MessageId,
|
||||
SenderName = model.SenderName,
|
||||
|
Loading…
Reference in New Issue
Block a user