public void DeleteExistingParameters(Guid scheduleId) { var schedulParameters = GetScheduleParameters(scheduleId); foreach (var parmeter in schedulParameters) { _scheduleParameterRepository.Delete(parmeter.Id ?? Guid.Empty); } }
public void DeleteExistingParameters(string scheduleId) { Guid entityId = new Guid(scheduleId); var schedulParameters = GetScheduleParameters(entityId); foreach (var parmeter in schedulParameters) { _scheduleParameterRepository.Delete(parmeter.Id ?? Guid.Empty); } }