예제 #1
0
        public void DeleteMobileTestingMms(int id)
        {
            var mobileTestingMms = GetMobileTestingMms(id);

            if (mobileTestingMms is null)
            {
                throw new ArgumentException
                          ($"MobileTestingMms with id = {id} doesn't exist");
            }
            if (mobileTestingMms != null)
            {
                _calibrationMmsService.DeleteCalibrationMms
                    (mobileTestingMms.CalibrationMms.Id);
            }
            _mobileTestingMmsRepository.DeleteMobileTestingMms(id);
        }
예제 #2
0
 public void DeleteCalibrationMms(int id)
 {
     _calibrationMmsService.DeleteCalibrationMms(id);
 }