protected override async Task OnInitializedAsync() { this.SelectedRowItemForEdit = this.editPlaceHolder = NomenclaturesFactory.GetEmptyJobItemDto(); this.Job = await this.JobService.GetAsync(this.Id); this.TableItems = await this.JobService.GetAllItemsAsync(this.Id); this.Products = (IReadOnlyList <ProductDto>) await this.ProductService.GetAllAsync(); }
public override void AddNewRow() { this.SelectedRowItemForEdit = NomenclaturesFactory.GetEmptyJobItemDto(); base.AddNewRow(); }