//private readonly IRepository repository; public ExecuteHandler( HandlerFinder handlerTypes, IFactory factory, IPageMapper mapper) { this.handlerTypes = handlerTypes; this.factory = factory; this.mapper = mapper; }
//private readonly IRepository repository; public MessageBus( HandlerFinder handlerTypes, IFactory factory, IPageMapper mapper //IRepository repository, //IClaimsProvider authenticator ) { this.handlerTypes = handlerTypes; this.factory = factory; this.mapper = mapper; //this.authenticator = authenticator; }