public DependencyItemViewModel( DependencyItem item, IItemCommands itemCommands, bool isSourceItem) { Item = item; this.itemCommands = itemCommands; this.isSourceItem = isSourceItem; SubItems = ToSubItems(item.SubItems); }
public ItemsController(IItemCommands itemCommands, IItemQueries itemQueries) { _itemCommands = itemCommands; _itemQueries = itemQueries; }
public ItemService(IItemQuery itemQuery, IItemCommands itemCommands) { _iq = itemQuery; _ic = itemCommands; }