public Task<Interviewer> ChangePasswordAsync(Interviewer interviewer, string password)
{
if (interviewer == null)
{
throw new ArgumentNullException("interviewer");
}
return Client.PutAsJsonAsync(InterviewersApi + interviewer.InterviewerId, (object)new { Password = password })
.ContinueWith(
responseMessageTask => responseMessageTask.Result.Content.ReadAsStringAsync().Result)
.ContinueWith(
stringTask => JsonConvert.DeserializeObject<Interviewer>(stringTask.Result))
.FlattenExceptions();
}