コード例 #1
0
        public JsonResult ContinueMerging(string tagViewModel)
        {
            TagViewModel viewModel = JsonConvert.DeserializeObject <TagViewModel>(tagViewModel);

            viewModel.AccountID = UserExtensions.ToAccountID(this.Identity);
            SaveTagRequest request = new SaveTagRequest()
            {
                TagViewModel = viewModel
            };

            SaveTagResponse response = tagService.ContinueMergeTag(request);

            return(Json(new
            {
                success = true,
                response = new
                {
                    IsInvolvedInLeadScore = response.IsAssociatedWithLeadScoreRules,
                    IsInvolvedInWorkflows = response.IsAssociatedWithWorkflows
                }
            }, JsonRequestBehavior.AllowGet));
        }