コード例 #1
0
        protected async System.Threading.Tasks.Task Form0Submit(Bssr.Models.Bssr4.TblNetworkPc args)
        {
            try
            {
                var bssr4UpdateTblNetworkPcResult = await Bssr4.UpdateTblNetworkPc(ID, tblnetworkpc);

                DialogService.Close(tblnetworkpc);
            }
            catch (System.Exception bssr4UpdateTblNetworkPcException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblNetworkPc");
            }
        }
コード例 #2
0
        protected async System.Threading.Tasks.Task Load()
        {
            var bssr4GetTblNetworkPcByIdResult = await Bssr4.GetTblNetworkPcById(ID);

            tblnetworkpc = bssr4GetTblNetworkPcByIdResult;
        }
コード例 #3
0
 protected async System.Threading.Tasks.Task Load()
 {
     tblnetworkpc = new Bssr.Models.Bssr4.TblNetworkPc()
     {
     };
 }
コード例 #4
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(Bssr.Models.Bssr4.TblNetworkPc args)
        {
            var dialogResult = await DialogService.OpenAsync <EditTblNetworkPc>("Edit Tbl Network PC", new Dictionary <string, object>() { { "ID", args.ID } });

            await InvokeAsync(() => { StateHasChanged(); });
        }