Exemplo n.º 1
0
        protected async System.Threading.Tasks.Task Form0Submit(Bssr.Models.Bssr4.TblObjekti args)
        {
            try
            {
                var bssr4CreateTblObjektiResult = await Bssr4.CreateTblObjekti(tblobjekti);

                DialogService.Close(tblobjekti);
            }
            catch (System.Exception bssr4CreateTblObjektiException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblObjekti!");
            }
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(Bssr.Models.Bssr4.TblObjekti args)
        {
            var dialogResult = await DialogService.OpenAsync <EditTblObjekti>("Edit Tbl Objekti", new Dictionary <string, object>() { { "ID", args.ID } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
Exemplo n.º 3
0
 protected async System.Threading.Tasks.Task Load()
 {
     tblobjekti = new Bssr.Models.Bssr4.TblObjekti()
     {
     };
 }
Exemplo n.º 4
0
        protected async System.Threading.Tasks.Task Load()
        {
            var bssr4GetTblObjektiByIdResult = await Bssr4.GetTblObjektiById(ID);

            tblobjekti = bssr4GetTblObjektiByIdResult;
        }