Ejemplo n.º 1
0
        protected async System.Threading.Tasks.Task Grid0LoadData(LoadDataArgs args)
        {
            try
            {
                var crmGetTaskStatusesResult = await Crm.GetTaskStatuses(filter : $"{args.Filter}", orderby : $"{args.OrderBy}", top : args.Top, skip : args.Skip, count : args.Top != null && args.Skip != null);

                getTaskStatusesResult = crmGetTaskStatusesResult.Value.AsODataEnumerable();

                getTaskStatusesCount = crmGetTaskStatusesResult.Count;
            }
            catch (Exception crmGetTaskStatusesException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to load TaskStatuses");
            }
        }
Ejemplo n.º 2
0
        protected async void Load()
        {
            var crmGetOpportunitiesResult = await Crm.GetOpportunities();

            getOpportunitiesResult = crmGetOpportunitiesResult;

            var crmGetTaskTypesResult = await Crm.GetTaskTypes();

            getTaskTypesResult = crmGetTaskTypesResult;

            var crmGetTaskStatusesResult = await Crm.GetTaskStatuses();

            getTaskStatusesResult = crmGetTaskStatusesResult;

            task = new RadzenCrm.Models.Crm.Task();
        }
        protected async System.Threading.Tasks.Task Load()
        {
            var crmGetTaskByIdResult = await Crm.GetTaskById(id : Id);

            task = crmGetTaskByIdResult;

            var crmGetOpportunitiesResult = await Crm.GetOpportunities();

            getOpportunitiesResult = crmGetOpportunitiesResult.Value.AsODataEnumerable();

            var crmGetTaskTypesResult = await Crm.GetTaskTypes();

            getTaskTypesResult = crmGetTaskTypesResult.Value.AsODataEnumerable();

            var crmGetTaskStatusesResult = await Crm.GetTaskStatuses();

            getTaskStatusesResult = crmGetTaskStatusesResult.Value.AsODataEnumerable();
        }
Ejemplo n.º 4
0
        protected async System.Threading.Tasks.Task Load()
        {
            var crmGetOpportunitiesResult = await Crm.GetOpportunities();

            getOpportunitiesResult = crmGetOpportunitiesResult.Value.AsODataEnumerable();

            var crmGetTaskTypesResult = await Crm.GetTaskTypes();

            getTaskTypesResult = crmGetTaskTypesResult.Value.AsODataEnumerable();

            var crmGetTaskStatusesResult = await Crm.GetTaskStatuses();

            getTaskStatusesResult = crmGetTaskStatusesResult.Value.AsODataEnumerable();

            task = new BlazorCrmWasm.Models.Crm.Task()
            {
            };
        }
Ejemplo n.º 5
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var crmGetTaskByIdResult = await Crm.GetTaskById(Id);

            task = crmGetTaskByIdResult;

            var crmGetOpportunitiesResult = await Crm.GetOpportunities();

            getOpportunitiesResult = crmGetOpportunitiesResult;

            var crmGetTaskTypesResult = await Crm.GetTaskTypes();

            getTaskTypesResult = crmGetTaskTypesResult;

            var crmGetTaskStatusesResult = await Crm.GetTaskStatuses();

            getTaskStatusesResult = crmGetTaskStatusesResult;
        }
Ejemplo n.º 6
0
        protected async void Load()
        {
            canEdit = true;

            var crmGetTaskByIdResult = await Crm.GetTaskById(int.Parse($"{Id}"));

            task = crmGetTaskByIdResult;

            var crmGetOpportunitiesResult = await Crm.GetOpportunities();

            getOpportunitiesResult = crmGetOpportunitiesResult;

            var crmGetTaskTypesResult = await Crm.GetTaskTypes();

            getTaskTypesResult = crmGetTaskTypesResult;

            var crmGetTaskStatusesResult = await Crm.GetTaskStatuses();

            getTaskStatusesResult = crmGetTaskStatusesResult;
        }
Ejemplo n.º 7
0
        protected async void Load()
        {
            var crmGetTaskStatusesResult = await Crm.GetTaskStatuses();

            getTaskStatusesResult = crmGetTaskStatusesResult;
        }
Ejemplo n.º 8
0
        protected async System.Threading.Tasks.Task Load()
        {
            var crmGetTaskStatusesResult = await Crm.GetTaskStatuses();

            getTaskStatusesResult = crmGetTaskStatusesResult;
        }