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