Esempio n. 1
0
        protected async System.Threading.Tasks.Task Form0Submit(Bssr.Models.Bssr4.TblUser args)
        {
            try
            {
                var bssr4CreateTblUserResult = await Bssr4.CreateTblUser(tbluser);

                DialogService.Close(tbluser);
            }
            catch (System.Exception bssr4CreateTblUserException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblUser!");
            }
        }
Esempio n. 2
0
        protected async System.Threading.Tasks.Task Load()
        {
            var bssr4GetTblUserByIdResult = await Bssr4.GetTblUserById(ID);

            tbluser = bssr4GetTblUserByIdResult;
        }
Esempio n. 3
0
 protected async System.Threading.Tasks.Task Load()
 {
     tbluser = new Bssr.Models.Bssr4.TblUser()
     {
     };
 }
        protected async System.Threading.Tasks.Task Grid0RowSelect(Bssr.Models.Bssr4.TblUser args)
        {
            var dialogResult = await DialogService.OpenAsync <EditTblUsers>("Edit Tbl Users", new Dictionary <string, object>() { { "ID", args.ID } });

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