Ejemplo n.º 1
0
        public async Task <ActionResult> ChangePassword(string userName, string oldPsw, string newPsw)
        {
            var result = await UserContract.ChangePassword(userName, oldPsw, newPsw);

            return(Json(result.ToApiResult()));
        }
Ejemplo n.º 2
0
        public async Task <IHttpActionResult> ChangePassword(string phoneNo, string oldPsw, string newPsw)
        {
            var result = await UserContract.ChangePassword(phoneNo, oldPsw, newPsw);

            return(Json(result.ToApiResult()));
        }