public void SaveGame() { var fileName = ViewModel.AppData.Game.Name + ".json"; _logger.LogMessage($"Main window: saving game to {fileName}."); _gameFileService.Save(fileName); }
private void SaveGameToFile(string fileName) { _logger.LogMessage($"Main window: saving game to {fileName}."); _gameFileService.Save(fileName); MessageBox.Show("File Saved", "Arkham Overlay", MessageBoxButton.OK); }