示例#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();
 }
示例#2
0
        public async Task SetUpProperties()
        {
            AllMaterialSeries = (await MaterialSeriesDataAccess.GetAllMaterialSeries()).ToList();

            AllMaterialAlloys = (await MaterialAlloyDataAccess.GetAllMaterialAlloys()).ToList();
        }