public TransactionViewModel(TransactionSearchViewModel transactionSearch, ITransactionsInterface transactionService, TransactionAddEditViewModel transactionAddEditViewModel, ISettingsInterface settingService) : base(transactionSearch, transactionAddEditViewModel) { _transactionService = transactionService; _settingService = settingService; PostDataRetrievalDelegate = (list) => { transactionService.UpdateCanSelect(list); }; }
public MainViewModel(ITransactionsInterface transactionService) { _transactionService = transactionService; }
public TransactionUserAutocompleteViewModel(TransactionSearchViewModel transactionSearch, ITransactionsInterface transactionService, TransactionAddEditViewModel transactionAddEditViewModel) : base(transactionSearch, transactionAddEditViewModel) { _transactionService = transactionService; }