public SourceRepository(string filePath) { _fileManager = new JsonManager(filePath); _sourceList = GetAll(); }
public SourceRepository(string filePath) { _fileManager = new JsonManager(filePath); SourceList = new ObservableCollection <Source>(_fileManager.Load()); }