static FibonacciService() { Solver = FibonacciSolverFactory.GetSolver(); var rootApiUrl = ConfigurationManager.AppSettings["rootApiAppUrl"]; rootApiUrl = !string.IsNullOrEmpty(rootApiUrl) ? rootApiUrl : "http://localhost:8888"; RequestSender = new RequestSender(rootApiUrl); }
public RootController() { _solver = FibonacciSolverFactory.GetSolver(); _messageBus = MessageBusFactory.GetMassTransitMessageBus(); }