protected async System.Threading.Tasks.Task Form0Submit(C4G.Models.C4G.Dado args) { try { var c4GCreateDadoResult = await C4G.CreateDado(dado); DialogService.Close(dado); } catch (Exception c4GCreateDadoException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new Dado!"); } }
protected async System.Threading.Tasks.Task Load() { var c4GGetLaboratoriosResult = await C4G.GetLaboratorios(); getLaboratoriosResult = c4GGetLaboratoriosResult; var c4GGetRecursosResult = await C4G.GetRecursos(); getRecursosResult = c4GGetRecursosResult; dado = new C4G.Models.C4G.Dado() { }; }
protected async System.Threading.Tasks.Task Grid0RowSelect(C4G.Models.C4G.Dado args) { var dialogResult = await DialogService.OpenAsync <EditDado>("Edit Dado", new Dictionary <string, object>() { { "id_recursos", args.id_recursos } }); await InvokeAsync(() => { StateHasChanged(); }); }