public DemoController(ICommandDemoService commandDemoService, IQueryDemoService queryDemoService) { this.commandDemoService = commandDemoService; this.queryDemoService = queryDemoService; }
public CommandDemoServiceImpl(IDemoRepository repository, IQueryDemoService queryDemoService) { this.repository = repository; this.queryDemoService = queryDemoService; }