public async Task <IHttpActionResult> ChangePasswordAsync(string oldPassword, string newPassword) { var userId = GetUserId(); var user = await _userManager.ChangePasswordAsync(oldPassword, newPassword, userId); return(Ok(user)); }