protected override void Dispose(bool disposing) { if (disposing && _guestReservationService != null) { _guestReservationService.Dispose(); _guestReservationService = null; } if (disposing && _employeeShiftService != null) { _employeeShiftService.Dispose(); _employeeShiftService = null; } if (disposing && _guestService != null) { _guestService.Dispose(); _guestService = null; } if (disposing && _personService != null) { _personService.Dispose(); _personService = null; } if (disposing && _tableItemService != null) { _tableItemService.Dispose(); _tableItemService = null; } base.Dispose(disposing); }