Beispiel #1
0
 private void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             dbContext.Dispose();
         }
     }
     disposed = true;
 }
Beispiel #2
0
 public void Dispose()
 {
     dbContext?.Dispose();
     _treeNodeRepository?.Dispose();
 }