protected override async Task OnInitializedAsync() { this.editPlaceHolder = NomenclaturesFactory.GetEmptyRoleDto(); this.SelectedRowItemForEdit = this.editPlaceHolder; this.InitializePermissionCheckBoxList(); this.TableItems = await this.RoleService.GetAllAsync(); }
public override void AddNewRow() { this.SelectedRowItemForEdit = NomenclaturesFactory.GetEmptyRoleDto(); base.AddNewRow(); }