private static void CheckSurveyIdAndSamplingPointId(string surveyId, string samplingPointId)
{
if (surveyId == null)
throw new ArgumentNullException("surveyId");
if (surveyId.Trim().Length == 0)
throw new ArgumentException("surveyId cannot be empty");
if (samplingPointId == null)
throw new ArgumentNullException("samplingPointId");
if (samplingPointId.Trim().Length == 0)
throw new ArgumentException("samplingPointId cannot be empty");
}