public RecordsDataSet GetPredefinedSet(int key) { foreach (var file in _fileStorage.GetFiles()) { if (file.Key == key && CheckIfCsv(file.Path)) { return(_csvConverter.Convert(_csvParser.ParseDynamic(file.Path))); } } return(null); }
public RecordsDataSet GetPredefinedSet(int key) { foreach (var file in _fileStorage.GetFiles()) { if (file.Key == key && CheckIfCsv(file.Path)) { return(_csvConverter.Convert(_csvParser.ParseDynamic(file.Path))); } } return(null); }