public void Run(string url) { try { var commandPath = GetPathFromUrl(url); var command = ServiceRouteProvider.GetCommandRoute(_container, commandPath); if (command == null) { Logger.Instance.Log.Error($"Command for path = {commandPath} is null or invalid."); return; } var queryParameters = GetQueryParameters(url); command.Invoke(queryParameters); } catch (Exception exception) { Logger.Instance.Log.Error(exception); } }