DateTime instead of DateOnly, fixed warnings

This commit is contained in:
2024-08-15 14:35:55 +03:00
parent 25a9d8f86d
commit 47509906a5
10 changed files with 14 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore;
namespace Infrastructure.Database
{
public class DbContext(DbContextOptions<Infrastructure.Database.DbContext> opts)
public class DbContext(DbContextOptions<DbContext> opts)
: Microsoft.EntityFrameworkCore.DbContext(opts), IGenericWriter, IGenericReader, IUnitOfWork
{
protected override void OnModelCreating(ModelBuilder modelBuilder)