Esempio n. 1
0
        public void DeleteSiteConfiguration(int siteConfigurationId)
        {
            var siteConfiguration = _siteConfigurationRepository
                                    .GetSiteConfigurationById(siteConfigurationId);

            if (siteConfiguration != null)
            {
                _siteConfigurationRepository
                .DeleteSiteConfiguration(siteConfiguration);
                _unitOfWork.Complete();

                _siteStatusCheckScheduler.Unschedule(siteConfiguration);
            }
        }