public static List <Category> GetMatchingTagCategories(Category category, string storeAlias = null) { return(DomainHelper.GetAllCategories(false, storeAlias).Where(x => x.Tags.Intersect(category.Tags).Any()).Cast <Category>().ToList()); }