public LinqToTwitterResponces GetTweettsFromTwitter(string ScreenName) { var latest = TwitterRepository.GetLatestTweetSummary(ScreenName); var result = latest == null? TwitterRepository.GetAllTweettsFromTwitterByName(ScreenName) : TwitterRepository.GetTweettsFromTwitterByNameAndDate(new Model.Configuration.TwitterFilter { LatestTweets = latest.LastTweetDate, screenName = ScreenName }); TwitterRepository.SaveTweets(result.Tweets); return(result); }