fronted: login
This commit is contained in:
@@ -6,7 +6,7 @@ namespace back.context;
|
||||
public class EventContext : DbContext
|
||||
{
|
||||
private DbSet<EventModel> Events { get; set; }
|
||||
public EventContext(DbContextOptions<EventContext> options)
|
||||
public EventContext(DbContextOptions<EventContext> options) : base(options)
|
||||
{
|
||||
Database.EnsureCreated();
|
||||
}
|
||||
|
Reference in New Issue
Block a user