public string ChangePassword(ChangePasswordReq request)
 {
     try
     {
         _app.ChangePassword(request);
     }
     catch (Exception ex)
     {
         Result.Code    = 500;
         Result.Message = ex.InnerException?.Message ?? ex.Message;
     }
     return(JsonHelper.Instance.Serialize(Result));
 }
Ejemplo n.º 2
0
        public Response ChangePassword(ChangePasswordReq request)
        {
            var result = new Response();

            try
            {
                _app.ChangePassword(request);
            }
            catch (Exception ex)
            {
                result.Code    = 500;
                result.Message = ex.InnerException?.Message ?? ex.Message;
            }

            return(result);
        }