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