Add Blazor WebApp and rework data handling to utilize Entity Framework
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
namespace Core.Entities;
|
||||
|
||||
public class EventAssignment
|
||||
public class EventAssignment(EventDefinition eventDefinition, Student student)
|
||||
{
|
||||
public CompetitiveEvent Event { get; }
|
||||
public Student Student { get; }
|
||||
|
||||
public EventAssignment(CompetitiveEvent @event, Student student)
|
||||
{
|
||||
Event = @event;
|
||||
Student = student;
|
||||
}
|
||||
public EventDefinition EventDefinition { get; } = eventDefinition;
|
||||
public Student Student { get; } = student;
|
||||
}
|
||||
Reference in New Issue
Block a user