protected async void Load()
        {
            var crmGetContactsResult = await Crm.GetContacts();

            getContactsResult = crmGetContactsResult;

            var crmGetOpportunityStatusesResult = await Crm.GetOpportunityStatuses();

            getOpportunityStatusesResult = crmGetOpportunityStatusesResult;

            opportunity = new RadzenCrm.Models.Crm.Opportunity();
        }
Beispiel #2
0
        protected async System.Threading.Tasks.Task Load()
        {
            var crmGetContactsResult = await Crm.GetContacts();

            getContactsResult = crmGetContactsResult;

            var crmGetOpportunityStatusesResult = await Crm.GetOpportunityStatuses();

            getOpportunityStatusesResult = crmGetOpportunityStatusesResult;

            opportunity = new RadzenCrm.Models.Crm.Opportunity();
        }
        protected async System.Threading.Tasks.Task Load()
        {
            var crmGetContactsResult = await Crm.GetContacts();

            getContactsResult = crmGetContactsResult.Value.AsODataEnumerable();

            var crmGetOpportunityStatusesResult = await Crm.GetOpportunityStatuses();

            getOpportunityStatusesResult = crmGetOpportunityStatusesResult.Value.AsODataEnumerable();

            opportunity = new BlazorCrmWasm.Models.Crm.Opportunity()
            {
            };
        }
Beispiel #4
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();
        }
Beispiel #5
0
        protected async System.Threading.Tasks.Task Grid0LoadData(LoadDataArgs args)
        {
            try
            {
                var crmGetOpportunityStatusesResult = await Crm.GetOpportunityStatuses(filter : $"{args.Filter}", orderby : $"{args.OrderBy}", top : args.Top, skip : args.Skip, count : args.Top != null && args.Skip != null);

                getOpportunityStatusesResult = crmGetOpportunityStatusesResult.Value.AsODataEnumerable();

                getOpportunityStatusesCount = crmGetOpportunityStatusesResult.Count;
            }
            catch (Exception crmGetOpportunityStatusesException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to load OpportunityStatuses");
            }
        }
Beispiel #6
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;
        }
        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;
        }
        protected async void Load()
        {
            var crmGetOpportunityStatusesResult = await Crm.GetOpportunityStatuses();

            getOpportunityStatusesResult = crmGetOpportunityStatusesResult;
        }
Beispiel #9
0
        protected async System.Threading.Tasks.Task Load()
        {
            var crmGetOpportunityStatusesResult = await Crm.GetOpportunityStatuses();

            getOpportunityStatusesResult = crmGetOpportunityStatusesResult;
        }