Rest API and ClientApp initial creation

This commit is contained in:
the
2023-04-07 18:59:41 +04:00
parent 754a533e7a
commit 3aa0d78a4b
91 changed files with 75452 additions and 3 deletions

View File

@@ -34,6 +34,8 @@ namespace ComputerShopDatabaseImplement.Models
public virtual List<EquipmentReceiving> EquipmentReceivings { get; set; } = new();
[ForeignKey("ClientId")]
public virtual List<Purchase> Purchases { get; set; } = new();
[ForeignKey("ClientId")]
public virtual List<Component> Components { get; set; } = new();
public static Client? Create(ClientBindingModel model)
{