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

            var dbAtVdc2GetTblIcCategoryByCategoryIdResult = await DbAtVdc2.GetTblIcCategoryByCategoryId($"{Category_ID}");

            tbliccategory = dbAtVdc2GetTblIcCategoryByCategoryIdResult;
        }
Example #2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcCategory args)
        {
            try
            {
                var dbAtVdc2CreateTblIcCategoryResult = await DbAtVdc2.CreateTblIcCategory(tbliccategory);

                DialogService.Close(tbliccategory);
            }
            catch (Exception dbAtVdc2CreateTblIcCategoryException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblIcCategory!");
            }
        }
Example #3
0
 protected async System.Threading.Tasks.Task Load()
 {
     tbliccategory = new CanErp2.Models.DbAtVdc2.TblIcCategory();
 }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblIcCategory args)
        {
            var result = await DialogService.OpenAsync <EditTblIcCategory>("Edit Tbl Ic Category", new Dictionary <string, object>() { { "Category_ID", args.Category_ID } });

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