// Only call save changes if AutoSaveChanges is true
 private async Task SaveChanges()
 {
     if (AutoSaveChanges)
     {
         await HyperContext.SaveChangesAsync().WithCurrentCulture();
     }
 }