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