private string LoadLastOutput() { string fpath = MainWindowModel.GetApplicationDataPath(JSON_Output); if (File.Exists(fpath)) { return(File.ReadAllText(fpath)); } return(String.Empty); }
private void SaveLastOutput() { string fpath = MainWindowModel.GetApplicationDataPath(JSON_Output); File.WriteAllText(fpath, Output); }