public virtual void Dispose(bool disposing) { if (!this._disposed) { if (disposing) { _userManager.Dispose(); _roleManager.Dispose(); _workerManager.Dispose(); _workTimeManager.Dispose(); _imageManager.Dispose(); _reservationManager.Dispose(); _confirmReservation.Dispose(); } this._disposed = true; } }