protected override void Dispose(bool disposing) { if (disposing) { try { hotelService.Dispose(); roomService.Dispose(); bookingService.Dispose(); userService.Dispose(); roomImageService.Dispose(); feedbackService.Dispose(); } catch { } } base.Dispose(disposing); }