1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

added MySQL support

fixed login bug
IW3 official support
This commit is contained in:
RaidMax
2018-04-25 01:38:59 -05:00
parent 5e229b90be
commit 21e4bdb614
18 changed files with 63 additions and 463 deletions

View File

@ -107,7 +107,7 @@ namespace SharedLibraryCore.Services
{
using (var context = new DatabaseContext())
{
return await new DatabaseContext().Clients
return await context.Clients
.AsNoTracking()
.Include(c => c.CurrentAlias)
.Include(c => c.AliasLink.Children)
@ -216,7 +216,7 @@ namespace SharedLibraryCore.Services
{
using (var context = new DatabaseContext())
{
return await new DatabaseContext().Clients
return await context.Clients
.AsNoTracking()
.Include(c => c.CurrentAlias)
.Where(c => c.Level >= Player.Permission.Trusted)