public FeatureModel GetFeatureModel(string featureModelName) { // Get DataEntity and convert to BLO XmlDAL.DataEntities.FeatureModel dataEntity = new XmlDAL.XMLDataEntityManager(this.modelFolderPath).GetFeatureModel(featureModelName); BLOs.FeatureModel featureModelBLO = Mapper.Map<BLOs.FeatureModel>(dataEntity); return featureModelBLO; }
public List<BLOs.ModelFile> GetAllModelFiles() { // Read files and create BLOs List<BLOs.ModelFile> modelFiles = new XmlDAL.XMLDataEntityManager(this.modelFolderPath).GetAllModelFiles() .Select(dataEntity => new BLOs.ModelFile() { Name = dataEntity.Name }).ToList(); // return modelFiles; }