示例#1
0
        public void DeleteConfiguringMms(int id)
        {
            var configuringMms = GetConfiguringMms(id);

            if (configuringMms is null)
            {
                throw new ArgumentException
                          ($"ConfiguringMms with id = {id} doesn't exist");
            }

            if (configuringMms.MobileTestingMms != null)
            {
                _mobileTestingMmsService.DeleteMobileTestingMms
                    (configuringMms.MobileTestingMms.Id);
            }

            _configuringMmsRepository.DeleteConfiguringMms(id);
        }
 public void DeleteMobileTestingMms(int id)
 {
     _mobileTestingMmsService.DeleteMobileTestingMms(id);
 }