Exemple #1
0
 protected override void OnClosed()
 {
     base.OnClosed();
     UsersLogic.Dispose();
     BooksLogic.Dispose();
     OrdersLogic.Dispose();
 }
Exemple #2
0
 public override void Dispose()
 {
     base.Dispose();
     //
     if (_applicationDbContext != null)
     {
         _applicationDbContext.Dispose(); _applicationDbContext = null;
     }
     if (_usersLogic != null)
     {
         _usersLogic.Dispose(); _usersLogic = null;
     }
 }
Exemple #3
0
 public void Dispose()
 {
     usersLogic.Dispose();
 }