public CustomerApi(IExecuteCommands commandHandler, IRetrieveModels queriesHandler) : base(commandHandler, queriesHandler) { commandHandler.Performed += queriesHandler.HandleChanges; }
protected Api(IExecuteCommands commandHandler, IRetrieveModels queriesHandler) { _commandHandler = commandHandler; _queriesHandler = queriesHandler; }