небольшие нюансы

This commit is contained in:
Allllen4a 2024-05-29 16:58:41 +04:00
parent 7c2da1ba42
commit 91a12c6001

View File

@ -28,11 +28,11 @@ namespace BeautySalonDatabaseImplement.Models
[Required]
public string StaffMemberPhone { get; set; } = string.Empty;
[ForeignKey("StaffMemberId")]
public virtual List<LaborCosts> LaborsCosts { get; set; } = new();
//[ForeignKey("StaffMemberId")]
//public virtual List<LaborCosts> LaborsCosts { get; set; } = new();
[ForeignKey("StaffMemberId")]
public virtual List<Service> Services { get; set; } = new();
//[ForeignKey("StaffMemberId")]
//public virtual List<Service> Services { get; set; } = new();
public static StaffMember? Create(StaffMemberBindingModel model)
{