public UnassignAsync ( string surveyId, |
||
surveyId | string | |
model | ||
Résultat | System.Threading.Tasks.Task |
public Task UnassignAsync(string surveyId, SamplingPointInterviewerAssignmentsModel model)
{
CheckParameters(surveyId, model);
var uri = AssignmentsApi(surveyId).AbsoluteUri;
return Client.DeleteAsJsonAsync(uri, model).FlattenExceptions();
}
NfieldSamplingPointInterviewerAssignmentsService::UnassignAsync ( string surveyId, string samplingPointId, string interviewerId ) : System.Threading.Tasks.Task |
public void TestUnassignAsync_SurveyIdIsNull_Throws() { var target = new NfieldSamplingPointInterviewerAssignmentsService(); Assert.Throws<ArgumentNullException>(() => UnwrapAggregateException(target.UnassignAsync(null, SamplingPointId, InterviewerId))); }