예제 #1
0
        protected async System.Threading.Tasks.Task Form0Submit(Bssr.Models.Bssr4.TblSesija args)
        {
            try
            {
                var bssr4CreateTblSesijaResult = await Bssr4.CreateTblSesija(tblsesija);

                DialogService.Close(tblsesija);
            }
            catch (System.Exception bssr4CreateTblSesijaException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblSesija!");
            }
        }
예제 #2
0
        protected async System.Threading.Tasks.Task Load()
        {
            var bssr4GetTblSesijaByIdResult = await Bssr4.GetTblSesijaById(ID);

            tblsesija = bssr4GetTblSesijaByIdResult;
        }
예제 #3
0
 protected async System.Threading.Tasks.Task Load()
 {
     tblsesija = new Bssr.Models.Bssr4.TblSesija()
     {
     };
 }
예제 #4
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(Bssr.Models.Bssr4.TblSesija args)
        {
            var dialogResult = await DialogService.OpenAsync <EditTblSesija>("Edit Tbl Sesija", new Dictionary <string, object>() { { "ID", args.ID } });

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