/// <summary> /// Removes an existing <see cref="Interviewer"/> with an asynchronous operation. /// </summary> public Task RemoveInterviewerAsync(Interviewer interviewer) { if (interviewer == null) { return(null); } return(_interviewersService.RemoveAsync(interviewer)); }
/// <summary> /// A synchronous version of <see cref="INfieldInterviewersService.RemoveAsync"/> /// </summary> public static void Remove(this INfieldInterviewersService interviewersService, Interviewer interviewer) { interviewersService.RemoveAsync(interviewer).Wait(); }