You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
566 B
23 lines
566 B
using System.Threading.Tasks; |
|
using Volo.Abp.Auditing; |
|
using Volo.Abp.DependencyInjection; |
|
|
|
namespace Sanhe.Abp.AuditLogging |
|
{ |
|
[Dependency(ReplaceServices = true)] |
|
public class AuditingStore : IAuditingStore, ITransientDependency |
|
{ |
|
private readonly IAuditLogManager _manager; |
|
|
|
public AuditingStore( |
|
IAuditLogManager manager) |
|
{ |
|
_manager = manager; |
|
} |
|
|
|
public virtual async Task SaveAsync(AuditLogInfo auditInfo) |
|
{ |
|
await _manager.SaveAsync(auditInfo); |
|
} |
|
} |
|
}
|
|
|