|
|
|
@ -18,7 +18,7 @@ namespace Volo.Abp.Identity.EntityFrameworkCore |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public async Task<List<IdentitySecurityLog>> GetListAsync( |
|
|
|
public virtual async Task<List<IdentitySecurityLog>> GetListAsync( |
|
|
|
string sorting = null, |
|
|
|
int maxResultCount = 50, |
|
|
|
int skipCount = 0, |
|
|
|
@ -54,7 +54,7 @@ namespace Volo.Abp.Identity.EntityFrameworkCore |
|
|
|
.ToListAsync(cancellationToken); |
|
|
|
} |
|
|
|
|
|
|
|
public async Task<long> GetCountAsync( |
|
|
|
public virtual async Task<long> GetCountAsync( |
|
|
|
DateTime? startTime = null, |
|
|
|
DateTime? endTime = null, |
|
|
|
string applicationName = null, |
|
|
|
@ -84,7 +84,7 @@ namespace Volo.Abp.Identity.EntityFrameworkCore |
|
|
|
return await query.LongCountAsync(cancellationToken); |
|
|
|
} |
|
|
|
|
|
|
|
public async Task<IdentitySecurityLog> GetByUserIdAsync(Guid id, Guid userId, bool includeDetails = false, CancellationToken cancellationToken = default) |
|
|
|
public virtual async Task<IdentitySecurityLog> GetByUserIdAsync(Guid id, Guid userId, bool includeDetails = false, CancellationToken cancellationToken = default) |
|
|
|
{ |
|
|
|
return await (await GetDbSetAsync()) |
|
|
|
.OrderBy(x => x.Id) |
|
|
|
|