protected async System.Threading.Tasks.Task Load() { canEdit = true; var dbAtVdc2GetTblGnDepartmentByDepartmentIdResult = await DbAtVdc2.GetTblGnDepartmentByDepartmentId($"{Department_ID}"); tblgndepartment = dbAtVdc2GetTblGnDepartmentByDepartmentIdResult; }
protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblGnDepartment args) { try { var dbAtVdc2CreateTblGnDepartmentResult = await DbAtVdc2.CreateTblGnDepartment(tblgndepartment); DialogService.Close(tblgndepartment); } catch (Exception dbAtVdc2CreateTblGnDepartmentException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnDepartment!"); } }
protected async System.Threading.Tasks.Task Load() { tblgndepartment = new CanErpHp.Models.DbAtVdc2.TblGnDepartment(); }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHp.Models.DbAtVdc2.TblGnDepartment args) { var result = await DialogService.OpenAsync <EditTblGnDepartment>("Edit Tbl Gn Department", new Dictionary <string, object>() { { "Department_ID", args.Department_ID } }); await InvokeAsync(() => { StateHasChanged(); }); }