public List <Twitter_Shared.Data.Model.Tweet> Search(string query) { string[] terms = query.Split(new[] { ' ' }); return(_tweetRepository.Find(tweet => terms.All(t => tweet.Content.Contains(t)), tweet => tweet.BelongsTo, tweet => tweet.BelongsTo.Owner) .OrderByDescending(tweet => tweet.PostDate).ToList <Tweet>()); }