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
599 B
24 lines
599 B
3 years ago
|
using System.Threading.Tasks;
|
||
|
using Volo.Abp.DependencyInjection;
|
||
|
using Volo.Abp.SecurityLog;
|
||
|
|
||
|
namespace Sanhe.Abp.AuditLogging
|
||
|
{
|
||
|
[Dependency(ReplaceServices = true)]
|
||
|
public class SecurityLogStore : ISecurityLogStore, ITransientDependency
|
||
|
{
|
||
|
private readonly ISecurityLogManager _manager;
|
||
|
|
||
|
public SecurityLogStore(
|
||
|
ISecurityLogManager manager)
|
||
|
{
|
||
|
_manager = manager;
|
||
|
}
|
||
|
|
||
|
public virtual async Task SaveAsync(SecurityLogInfo securityLogInfo)
|
||
|
{
|
||
|
await _manager.SaveAsync(securityLogInfo);
|
||
|
}
|
||
|
}
|
||
|
}
|