IAuditingStore.cs 514 B

123456789101112131415161718
  1. using System.Threading.Tasks;
  2. namespace Abp.Auditing
  3. {
  4. /// <summary>
  5. /// This interface should be implemented by vendors to
  6. /// make auditing working.
  7. /// Default implementation is <see cref="SimpleLogAuditingStore"/>.
  8. /// </summary>
  9. public interface IAuditingStore
  10. {
  11. /// <summary>
  12. /// Should save audits to a persistent store.
  13. /// </summary>
  14. /// <param name="auditInfo">Audit informations</param>
  15. Task SaveAsync(AuditInfo auditInfo);
  16. }
  17. }