Rest API and ClientApp initial creation
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user