Fixed database context
This commit is contained in:
		| @@ -4,7 +4,8 @@ using Microsoft.EntityFrameworkCore; | |||||||
|  |  | ||||||
| namespace Infrastructure.Database | namespace Infrastructure.Database | ||||||
| { | { | ||||||
|     public class DbContext : Microsoft.EntityFrameworkCore.DbContext, IGenericWriter, IGenericReader, IUnitOfWork |     public class DbContext(DbContextOptions<Infrastructure.Database.DbContext> opts) | ||||||
|  |         : Microsoft.EntityFrameworkCore.DbContext(opts), IGenericWriter, IGenericReader, IUnitOfWork | ||||||
|     { |     { | ||||||
|         protected override void OnModelCreating(ModelBuilder modelBuilder) |         protected override void OnModelCreating(ModelBuilder modelBuilder) | ||||||
|         { |         { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user