Example #1
0
        public async override Task <int> SaveChangesAsync()
        {
            AuditingUtilities.AddAuditingData(this.ChangeTracker.Entries());

            return(await base.SaveChangesAsync());
        }
Example #2
0
        public override int SaveChanges()
        {
            AuditingUtilities.AddAuditingData(this.ChangeTracker.Entries());

            return(base.SaveChanges());
        }