protected async System.Threading.Tasks.Task Grid0RowExpand(Sde3.Models.Sde.Extract args) { master = args; var sdeGetParametersResult = await Sde.GetParameters(filter : $"ExtractId eq {args.ExtractId}"); args.Parameters = sdeGetParametersResult.Value; }
protected async System.Threading.Tasks.Task Grid0RowSelect(Sde3.Models.Sde.Extract args) { var dialogResult = await DialogService.OpenAsync <EditExtract>("Edit Extract", new Dictionary <string, object>() { { "ExtractId", args.ExtractId } }); await grid0.Reload(); await InvokeAsync(() => { StateHasChanged(); }); }
protected async System.Threading.Tasks.Task Form0Submit(Sde3.Models.Sde.Extract args) { try { var sdeCreateExtractResult = await Sde.CreateExtract(extract : extract); DialogService.Close(extract); } catch (System.Exception sdeCreateExtractException) { NotificationService.Notify(new NotificationMessage() { Severity = NotificationSeverity.Error, Summary = $"Error", Detail = $"Unable to create new Extract!" }); } }
protected async System.Threading.Tasks.Task Load() { extract = new Sde3.Models.Sde.Extract() { }; }
protected async System.Threading.Tasks.Task Load() { var sdeGetExtractByExtractIdResult = await Sde.GetExtractByExtractId(extractId : ExtractId); extract = sdeGetExtractByExtractIdResult; }