コード例 #1
0
 public ActionResult ChangePassword(ChangePasswordModel model)
 {
     try
     {
         customerAccountService.ChangePassword(model.Email, model.OldPassword, model.NewPassword);
         return(Json(new OporationWithoutReturnValueJsonModel()));
     }
     catch (Exception ex)
     {
         return(Json(new OporationWithoutReturnValueJsonModel(true, ex.Message)));
     }
 }