Exemple #1
0
 protected override async Task OnInitializedAsync()
 {
     QueryParameters = new ProductListParameters();
     Elements        = (await DataService.Get(QueryParameters)).ToArray();
     Categories      = (await CategoryDataService.GetAll()).ToArray();
     Warehouses      = (await WarehouseDataService.GetAll()).ToArray();
     Taxes           = (await TaxDataService.GetAll()).ToArray();
     UnitOfMeasures  = (await UnitOfMeasureDataService.GetAll()).ToArray();
 }
Exemple #2
0
 protected override async Task OnInitializedAsync()
 {
     Elements               = (await DataService.GetAll()).ToArray();
     Suppliers              = (await SupplierDataService.GetAll()).ToArray();
     Warehouses             = (await WarehouseDataService.GetAll()).ToArray();
     PaymentTerms           = (await PaymentTermDataService.GetAll()).ToArray();
     _productListParameters = new ProductListParameters();
     Products               = (await ProductDataService.Get(_productListParameters)).ToArray();
     Taxes = (await TaxDataService.GetAll()).ToArray();
 }