public static void ExecuteNewsRecipes() { try { if (NewsHelper.ReadNews()) { var followTopicsRecipe = Repository.Instance.GetRecipe("Follow Topics"); if (followTopicsRecipe != null && followTopicsRecipe.IsAvailable && followTopicsRecipe.IsEnabled) { NewsHelper.GetMatchingAndSendEmail(Constants.NEWS_TOPICS.Split(',')); } var followPeopleRecipe = Repository.Instance.GetRecipe("Follow People"); if (followPeopleRecipe != null && followPeopleRecipe.IsAvailable && followPeopleRecipe.IsEnabled) { NewsHelper.GetMatchingAndSendEmail(Constants.NEWS_PEOPLE.Split(',')); } } } catch (Exception exception) { Log.Error(exception); } }