public HttpResponseMessage UpdateMember([FromBody] Member Param) { try { AccountProvider _Provider = new AccountProvider(); var result = _Provider.UpdateMember(Param); return(Request.CreateResponse(HttpStatusCode.OK, result)); } catch (Exception ex) { LogFactory _LogFactory = new LogFactory(this.GetType()); _LogFactory.CreateLog(LogType.Error, "修改用户信息", "UpdateMember", ex); return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex.Message)); } }