diff --git a/asg_form/Controllers/Champion.cs b/asg_form/Controllers/Champion.cs index 3699c68..ee133c1 100644 --- a/asg_form/Controllers/Champion.cs +++ b/asg_form/Controllers/Champion.cs @@ -110,7 +110,7 @@ namespace asg_form.Controllers { public long Id { get; set; } public form form { get; set; } - public Events.T_events events { get; set; } + public T_events events { get; set; } public string msg { get; set; } } diff --git a/asg_form/Controllers/Dbset.cs b/asg_form/Controllers/Dbset.cs index ddeed1e..c2d6be3 100644 --- a/asg_form/Controllers/Dbset.cs +++ b/asg_form/Controllers/Dbset.cs @@ -1,5 +1,6 @@ using asg_form.Controllers.Store; +using asg_form.Controllers.Team; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.DataEncryption; @@ -27,6 +28,9 @@ namespace asg_form.Controllers builder.Property(a => a.Status).IsRequired(); } } + + + public void Configure(EntityTypeBuilder