protected override void Dispose(bool disposing) { if (disposing) { if (_ratingService != null) { _ratingService.Dispose(); _ratingService = null; } } base.Dispose(disposing); }