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.
24 lines
566 B
24 lines
566 B
3 years ago
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|