protected async System.Threading.Tasks.Task Form0Submit(Bssr.Models.Bssr4.DbVersion args)
        {
            try
            {
                var bssr4CreateDbVersionResult = await Bssr4.CreateDbVersion(dbversion);

                DialogService.Close(dbversion);
            }
            catch (System.Exception bssr4CreateDbVersionException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new DbVersion!");
            }
        }
예제 #2
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(Bssr.Models.Bssr4.DbVersion args)
        {
            var dialogResult = await DialogService.OpenAsync <EditDbVersion>("Edit Db Version", new Dictionary <string, object>() { { "ID", args.ID } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
 protected async System.Threading.Tasks.Task Load()
 {
     dbversion = new Bssr.Models.Bssr4.DbVersion()
     {
     };
 }
예제 #4
0
        protected async System.Threading.Tasks.Task Load()
        {
            var bssr4GetDbVersionByIdResult = await Bssr4.GetDbVersionById(ID);

            dbversion = bssr4GetDbVersionByIdResult;
        }