// ----- Constructors public ClientCommandViewModel(IClientCommandService clientCommandService) { _clientCommandService = clientCommandService; CloseTabCommand = new RelayCommand(CloseTab); CommandLines = new ObservableCollection <CommandLine>(); CommandLines.CollectionChanged += CommandLinesOnCollectionChanged; }
public ClientsController( IClientQueryService clientQueryService, IClientCommandService clientCommandService, ISubgroupQueryService subgroupQueryService) { _clientQueryService = clientQueryService; _clientCommandService = clientCommandService; _subgroupQueryService = subgroupQueryService; }
public ClientController(IClientCommandService command, IClientQueryService query) { _command = command; _query = query; }