/// <summary> /// Updates an <see cref="Interviewer"/> with an asynchronous operation. /// </summary> public Task <Interviewer> UpdateInterviewerAsync(Interviewer interviewer) { if (interviewer == null) { return(null); } return(_interviewersService.UpdateAsync(interviewer)); }
/// <summary> /// A synchronous version of <see cref="INfieldInterviewersService.UpdateAsync"/> /// </summary> public static Interviewer Update(this INfieldInterviewersService interviewersService, Interviewer interviewer) { return(interviewersService.UpdateAsync(interviewer).Result); }