public ActionResult MainPageSections() { var sections = SectionService.AllActiveSections().Where(x => x.ForMainPage) .OrderBy(x => x.WebSortOrder).ToList(); return(Content(Htmls2.MarkArrow(sections.Select(x => Html.SectionLink(x))).ToString())); }
public ActionResult MetroBlock() { var complexes = GetComplexes(); return(Content(Htmls2.Menu2("Комплексы у метро") + Htmls2.MarkArrow(complexes.Select(x => Url.Locations() .Complex(x.UrlName, StringUtils.AngleBrackets(x.Name) + " " + x.Metro))))); }