public override void AddNewRow() { this.SelectedRowItemForEdit = NomenclaturesFactory.GetEmptyProductDto(this.ProductType); base.AddNewRow(); }
protected override async Task OnInitializedAsync() { this.editPlaceHolder = NomenclaturesFactory.GetEmptyProductDto(this.ProductType); this.SelectedRowItemForEdit = this.editPlaceHolder; this.TableItems = await this.ProductService.GetAllAsync(this.ProductType); }