Beispiel #1
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var dbAtVdc2GetTblGnShipViumByShipViaSeqResult = await DbAtVdc2.GetTblGnShipViumByShipViaSeq(int.Parse($"{ShipVia_SEQ}"));

            tblgnshipvium = dbAtVdc2GetTblGnShipViumByShipViaSeqResult;
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnShipVium args)
        {
            try
            {
                var dbAtVdc2CreateTblGnShipViumResult = await DbAtVdc2.CreateTblGnShipVium(tblgnshipvium);

                DialogService.Close(tblgnshipvium);
            }
            catch (Exception dbAtVdc2CreateTblGnShipViumException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnShipVium!");
            }
        }
 protected async System.Threading.Tasks.Task Load()
 {
     tblgnshipvium = new CanErp2.Models.DbAtVdc2.TblGnShipVium();
 }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblGnShipVium args)
        {
            var result = await DialogService.OpenAsync <EditTblGnShipVium>("Edit Tbl Gn Ship Vium", new Dictionary <string, object>() { { "ShipVia_SEQ", args.ShipVia_SEQ } });

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