public ActionResult Index() { var tags = _localizedTagsService.GetLocalizedTags(); var model = new LocalizedTagsIndexViewModel { Tags = tags.ToList() }; return(View(model)); }
private void SetupTagCloudLoader(ContentItem item) { var cloudPart = (LocalizedTagCloudPart)item.Get(typeof(LocalizedTagCloudPart)); cloudPart._tags.Loader(() => _tagsService.GetLocalizedTags().ToList()); }