public MainWindowViewModel(IDialogService dialogService, IExcelDataDecoder excelDataDecoder, IDataRepositoryService dataRepositoryService) { _dialogService = dialogService; _excelDataDecoder = excelDataDecoder; _dataRepositoryService = dataRepositoryService; OpenFileCommand = new DelegateCommand(OpenFileExecute, OpenFileCanExecute); SaveFileCommand = new DelegateCommand(SaveFileExecute, SaveFileCanExecute); CloseAppCommand = new DelegateCommand(CloseAppExecute, CloseAppCanExecute); }
public DataRepositoryService(IEventAggregator ea, IExcelDataDecoder excelDataDecoder) { _ea = ea; _excelDataDecoder = excelDataDecoder; }