コード例 #1
0
        public GetOpportunityStageGroupResponse GetOppoertunityStageGroups(GetOpportunityStageGroupRequest request)
        {
            GetOpportunityStageGroupResponse response         = new GetOpportunityStageGroupResponse();
            IEnumerable <dynamic>            opportunityGroup = dropdownRepository.GetOppoertunityStageGroups();

            response.OpportunityGroups = opportunityGroup;

            return(response);
        }
コード例 #2
0
        public ActionResult GetOppoertunityStageGroups()
        {
            GetOpportunityStageGroupRequest request = new GetOpportunityStageGroupRequest();

            request.AccountId = this.Identity.ToAccountID();
            GetOpportunityStageGroupResponse response = dropdownValuesService.GetOppoertunityStageGroups(request);

            return(Json(new { success = true, response = response.OpportunityGroups }, JsonRequestBehavior.AllowGet));
        }