Presnyakova V.V Lab_7 #8

Closed
Victoria_Presnyakova wants to merge 36 commits from Lab_7 into Lab_6
Showing only changes of commit f632ebd23e - Show all commits

View File

@ -23,7 +23,10 @@ namespace JewelryStoreDatabaseImplement.Models
[ForeignKey("ClientId")]
public virtual List<Order> Orders { get; set; } = new();
public static Client? Create(ClientBindingModel model)
[ForeignKey("ClientId")]
public virtual List<Message> Messages { get; set; } = new();
public static Client? Create(ClientBindingModel model)
{
if (model == null)
{