public string GetRecommendations(RecommendationInput obj) { try { var recommendationObj = RecommendationManager.Recommendation(obj.Scenarios, obj.Trace); var output = JsonConvert.SerializeObject(recommendationObj); return(output); } catch (Exception ex) { throw ex; } }