protected async System.Threading.Tasks.Task Load() { var c4GGetPessoasResult = await C4G.GetPessoas(); getPessoasResult = c4GGetPessoasResult; servico = new C4G.Models.C4G.Servico() { }; }
protected async System.Threading.Tasks.Task Form0Submit(C4G.Models.C4G.Servico args) { try { var c4GUpdateServicoResult = await C4G.UpdateServico(id_servico, servico); DialogService.Close(servico); } catch (Exception c4GUpdateServicoException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update Servico"); } }
protected async System.Threading.Tasks.Task Grid0RowSelect(C4G.Models.C4G.Servico args) { var dialogResult = await DialogService.OpenAsync <EditServico>("Edit Servico", new Dictionary <string, object>() { { "id_servico", args.id_servico } }); await InvokeAsync(() => { StateHasChanged(); }); }