public String ajax_UpdateUserData(m_PowerUser md) { ReturnAjaxInfo rAjaxResult = new ReturnAjaxInfo(); a_PowerUser ac = new a_PowerUser() { Connection = getSQLConnection(), logPlamInfo = plamInfo }; RunUpdateEnd r = ac.UpdateMaster(md, LoginUserId.ToString()); if (!r.Result) rAjaxResult.message = r.Message; return JsonConvert.SerializeObject(rAjaxResult, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); }
public String ajax_UpdateUserData(m_PowerUser md) { ReturnAjaxInfo rAjaxResult = new ReturnAjaxInfo(); a_PowerUser ac = new a_PowerUser() { Connection = getSQLConnection(), logPlamInfo = plamInfo }; RunUpdateEnd r = ac.UpdateMaster(md, LoginUserId.ToString()); if (!r.Result) { rAjaxResult.message = r.Message; } return(JsonConvert.SerializeObject(rAjaxResult, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore })); }