コード例 #1
0
        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();
        }
コード例 #2
0
 public override void AddNewRow()
 {
     this.SelectedRowItemForEdit = NomenclaturesFactory.GetEmptyJobItemDto();
     base.AddNewRow();
 }