protected void RegisterHandlers(IHandlerFactory commandHandlerFactory) => dictionary = commandHandlerFactory.GetHandlers();
public FrontController(IHandlerFactory handlerFactory) { _requestHandler = handlerFactory.GetHandlers(); }