/// <summary> /// A synchronous version of <see cref="INfieldSurveysService.SamplingPointImageAddAsync(string, string, string, byte[])"/> /// </summary> public static void SamplingPointImageAdd(this INfieldSurveysService surveysService, string surveyId, string samplingPointId, string filename, byte[] content) { surveysService.SamplingPointImageAddAsync(surveyId, samplingPointId, filename, content).Wait(); }
/// <summary> /// A synchronous version of <see cref="INfieldSurveysService.SamplingPointImageAddAsync(string, string, string)"/> /// </summary> public static void SamplingPointImageAdd(this INfieldSurveysService surveysService, string surveyId, string samplingPointId, string filePath) { surveysService.SamplingPointImageAddAsync(surveyId, samplingPointId, filePath).Wait(); }