mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
UnitOfWork compltely removed. GetDbContext now returns a NadekoContext. Changed every access to contect via uow._context to uow
This commit is contained in:
@@ -57,6 +57,6 @@ namespace NadekoBot.Core.Services
|
||||
return context;
|
||||
}
|
||||
|
||||
public IUnitOfWork GetDbContext() => new UnitOfWork(GetDbContextInternal());
|
||||
public NadekoContext GetDbContext() => GetDbContextInternal();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user