コード例 #1
0
        public ActionResult UpdateMonitoringRegistration(MonitoringRegistrationDetailResponse model)
        {
            model.messages.registration.Tags = model.messages.registration.Tags == "0" ? "" : model.messages.registration.Tags;
            SettingFacade fac = new SettingFacade(this.CurrentClient.ApplicationDBConnectionString);

            fac.DPMUpdateRegistration(model.messages.registration.reference, model.messages.registration.Tags);
            ViewBag.MonitoringRegistrationMessage = CommonMessagesLang.msgCommanUpdateMessage;
            return(Json(new { result = true, message = CommonMessagesLang.msgCommanUpdateMessage }, JsonRequestBehavior.AllowGet));
        }