Example #1
0
 private async Task SetUpProperties()
 {
     PartModels       = (await PartDataAccess.GetAllParts()).ToList();
     UoMModels        = (await UoMDataAccess.GetAllUoMs()).ToList();
     DepartmentModels = (await DepartmentDataAccess.GetAllDepartments()).ToList();
     AlloyModels      = (await MaterialAlloyDataAccess.GetAllMaterialAlloys()).ToList();
     SeriesModels     = (await MaterialSeriesDataAccess.GetAllMaterialSeries()).ToList();
 }
 private async Task SetUpProperties()
 {
     ShipViaCodes         = (await ShipViaCodeDataAccess.GetAllShipVias()).ToList();
     Customers            = (await CustomerDataAccess.GetAllCurrentAndProspectCustomers()).ToList();
     UoMs                 = (await UoMDataAccess.GetAllUoMs()).ToList();
     PackageCodes         = (await PackageCodeDataAccess.GetAllPackageCodes()).ToList();
     Containers           = (await ContainerTypeDataAccess.GetAllContainerTypes()).ToList();
     CertificationCharges = (await CertificationChargeDataAccess.GetAllCertCharges()).ToList();
     Alloys               = (await AlloyDataAccess.GetAllMaterialAlloys()).ToList();
     Series               = (await SeriesDataAccess.GetAllMaterialSeries()).ToList();
     Departments          = (await DepartmentDataAccess.GetAllDepartments()).ToList();
 }