コード例 #1
0
        protected async System.Threading.Tasks.Task Load()
        {
            var crmGetOpportunityByIdResult = await Crm.GetOpportunityById(id : Id);

            opportunity = crmGetOpportunityByIdResult;

            var crmGetContactsResult = await Crm.GetContacts();

            getContactsResult = crmGetContactsResult.Value.AsODataEnumerable();

            var crmGetOpportunityStatusesResult = await Crm.GetOpportunityStatuses();

            getOpportunityStatusesResult = crmGetOpportunityStatusesResult.Value.AsODataEnumerable();
        }
コード例 #2
0
        protected async void Load()
        {
            canEdit = true;

            var crmGetOpportunityByIdResult = await Crm.GetOpportunityById(int.Parse($"{Id}"));

            opportunity = crmGetOpportunityByIdResult;

            var crmGetContactsResult = await Crm.GetContacts();

            getContactsResult = crmGetContactsResult;

            var crmGetOpportunityStatusesResult = await Crm.GetOpportunityStatuses();

            getOpportunityStatusesResult = crmGetOpportunityStatusesResult;
        }
コード例 #3
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var crmGetOpportunityByIdResult = await Crm.GetOpportunityById(Id);

            opportunity = crmGetOpportunityByIdResult;

            var crmGetContactsResult = await Crm.GetContacts();

            getContactsResult = crmGetContactsResult;

            var crmGetOpportunityStatusesResult = await Crm.GetOpportunityStatuses();

            getOpportunityStatusesResult = crmGetOpportunityStatusesResult;
        }