1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

Small fixes

This commit is contained in:
RaidMax
2018-12-17 13:45:16 -06:00
parent 50aa965528
commit 94ef816b19
8 changed files with 18 additions and 13 deletions

View File

@ -66,7 +66,6 @@ namespace SharedLibraryCore.Services
public async Task<IList<EFPenalty>> Find(Func<EFPenalty, bool> expression)
{
throw await Task.FromResult(new Exception());
}
public Task<EFPenalty> Get(int entityID)
@ -96,7 +95,7 @@ namespace SharedLibraryCore.Services
.OrderByDescending(p => p.When)
.Skip(offset)
.Take(count)
.ToListAsync();
.ToListAsync();
}
}
@ -116,7 +115,7 @@ namespace SharedLibraryCore.Services
/// <summary>
/// Get a read-only copy of client penalties
/// </summary>
/// <param name="clientI"></param>
/// <param name="clientId"></param>
/// <param name="victim">Retreive penalties for clients receiving penalties, other wise given</param>
/// <returns></returns>
public async Task<List<ProfileMeta>> ReadGetClientPenaltiesAsync(int clientId, bool victim = true)