public async Task <ActionResult> ChangePassword(string userName, string oldPsw, string newPsw) { var result = await UserContract.ChangePassword(userName, oldPsw, newPsw); return(Json(result.ToApiResult())); }
public async Task <IHttpActionResult> ChangePassword(string phoneNo, string oldPsw, string newPsw) { var result = await UserContract.ChangePassword(phoneNo, oldPsw, newPsw); return(Json(result.ToApiResult())); }