/// <summary> /// Changes the password for an <see cref="Interviewer"/> asynchronously. /// </summary> public Task <Interviewer> ChangePasswordAsync(Interviewer interviewer, string password) { if (interviewer == null) { return(null); } return(_interviewersService.ChangePasswordAsync(interviewer, password)); }
/// <summary> /// A synchronous version of <see cref="INfieldInterviewersService.ChangePasswordAsync"/> /// </summary> public static Interviewer ChangePassword(this INfieldInterviewersService interviewersService, Interviewer interviewer, string password) { return(interviewersService.ChangePasswordAsync(interviewer, password).Result); }