예제 #1
0
 public virtual void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             _db.Dispose();
         }
         disposed = true;
     }
 }
예제 #2
0
 /**
  * Disposes the class
  */
 public void Dispose()
 {
     _ctx.Dispose();
     _userManager.Dispose();
 }