public void Notification(string userId, int status, string version, string equType, string equName) { string json = string.Empty; BLL.pushparam bll_push = new BLL.pushparam(); try { bll_push.ModifyPushParamStatus(userId, status); json = "{\"status\":\"true\"}"; } catch (Exception ex) { json = "{\"status\":\"false\",\"data\":\"" + ex.Message + "\"}"; } WriteWebServiceLog(version, equType, equName, "Notification", ""); Context.Response.Write(json); Context.Response.End(); }