public ActionResult EditState(long smsTempleteId, int type) { Result <int> result = new Result <int>(); using (MessageClientProxy proxy = new MessageClientProxy(ProxyEx(Request))) { result = proxy.AuditSMSTemplete(smsTempleteId, type); } return(Json(result.ToResultView())); }