protected async System.Threading.Tasks.Task Load() { var c4GGetInstituicosResult = await C4G.GetInstituicos(); getInstituicosResult = c4GGetInstituicosResult; laboratorio = new C4G.Models.C4G.Laboratorio() { }; }
protected async System.Threading.Tasks.Task Form0Submit(C4G.Models.C4G.Laboratorio args) { try { var c4GCreateLaboratorioResult = await C4G.CreateLaboratorio(laboratorio); DialogService.Close(laboratorio); } catch (Exception c4GCreateLaboratorioException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new Laboratorio!"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(C4G.Models.C4G.Laboratorio args) { var dialogResult = await DialogService.OpenAsync <EditLaboratorio>("Edit Laboratorio", new Dictionary <string, object>() { { "id_lab", args.id_lab } }); await InvokeAsync(() => { StateHasChanged(); }); }