Пример #1
0
        protected override void Dispose(bool disposing)
        {
            if (!_isDisposed)
            {
                if (disposing)
                {
                    _likesService.Dispose();
                }

                _isDisposed = true;

                base.Dispose(disposing);
            }
        }
Пример #2
0
 protected override void Dispose(bool disposing)
 {
     _likesService.Dispose();
     base.Dispose(disposing);
 }