Example #1
0
 public void Dispose()
 {
     _repository.Dispose();
     _personQualityRepository.Dispose();
     _service.Dispose();
     _personQualityService.Dispose();
     _controller.Dispose();
 }
        // GET: Missions/Delete/5
        #region Methods

        /// <summary>
        /// The dispose.
        /// </summary>
        /// <param name="disposing">
        /// The disposing.
        /// </param>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _personQualityService.Dispose();
            }

            base.Dispose(disposing);
        }
Example #3
0
 public void Dispose()
 {
     _commonPlacesRepository.Dispose();
     _userRepository.Dispose();
     _repository.Dispose();
     _personQualityRepository.Dispose();
     _service.Dispose();
     _personQualityService.Dispose();
     _controller.Dispose();
 }
Example #4
0
        /// <summary>
        ///     The dispose.
        /// </summary>
        /// <param name="disposing">
        ///     The disposing.
        /// </param>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _missionService.Dispose();
                _personQualityService.Dispose();
                _commonPlacesService.Dispose();
            }

            base.Dispose(disposing);
        }
 public void Dispose()
 {
     _repository.Dispose();
     _service.Dispose();
     _controller.Dispose();
 }