не работает
This commit is contained in:
parent
85aef96efb
commit
64b7363a86
@ -19,9 +19,7 @@ namespace SushiBarDatabaseImplement.Models
|
|||||||
[Required]
|
[Required]
|
||||||
public string Password { get; private set; } = string.Empty;
|
public string Password { get; private set; } = string.Empty;
|
||||||
|
|
||||||
[Required]
|
[ForeignKey("ID")]
|
||||||
|
|
||||||
[ForeignKey("ClientId")]
|
|
||||||
public virtual List<Order> Orders { get; set; } = new();
|
public virtual List<Order> Orders { get; set; } = new();
|
||||||
|
|
||||||
public static Client? Create(ClientBindingModel? model)
|
public static Client? Create(ClientBindingModel? model)
|
||||||
|
Loading…
Reference in New Issue
Block a user