protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcInventory args) { try { var dbAtVdc2UpdateTblIcInventoryResult = await DbAtVdc2.UpdateTblIcInventory(int.Parse($"{Inventory_SEQ}"), tblicinventory); DialogService.Close(tblicinventory); } catch (Exception dbAtVdc2UpdateTblIcInventoryException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblIcInventory"); } }
protected async System.Threading.Tasks.Task Load() { var dbAtVdc2GetTblIcWarehousesResult = await DbAtVdc2.GetTblIcWarehouses(); getTblIcWarehousesResult = dbAtVdc2GetTblIcWarehousesResult; var dbAtVdc2GetTblIcCategoriesResult = await DbAtVdc2.GetTblIcCategories(); getTblIcCategoriesResult = dbAtVdc2GetTblIcCategoriesResult; var dbAtVdc2GetTblIcClassificationsResult = await DbAtVdc2.GetTblIcClassifications(); getTblIcClassificationsResult = dbAtVdc2GetTblIcClassificationsResult; var dbAtVdc2GetTblGnProductsResult = await DbAtVdc2.GetTblGnProducts(); getTblGnProductsResult = dbAtVdc2GetTblGnProductsResult; var dbAtVdc2GetTblIcUnitsResult = await DbAtVdc2.GetTblIcUnits(); getTblIcUnitsResult = dbAtVdc2GetTblIcUnitsResult; tblicinventory = new CanErp2.Models.DbAtVdc2.TblIcInventory(); }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblIcInventory args) { var result = await DialogService.OpenAsync <EditTblIcInventory>("Edit Tbl Ic Inventory", new Dictionary <string, object>() { { "Inventory_SEQ", args.Inventory_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }