protected override async Task OnInitializedAsync() { this.SelectedRowItemForEdit = this.editPlaceHolder = NomenclaturesFactory.GetEmptyCarDto(); this.Engines = (IReadOnlyList <EngineDto>) await this.CarService.GetAllEnginesAsync(); this.TableItems = await this.CarService.GetAllAsync(); }
public override void AddNewRow() { this.SelectedRowItemForEdit = NomenclaturesFactory.GetEmptyCarDto(); base.AddNewRow(); }