public PartialViewResult Index(PageData currentPage) { var model = new HeaderViewModel { Adjust = PagePropertyService.GetSettingsPageProperty <Url>("Adjust"), EServices = PagePropertyService.GetSettingsPageProperty <Url>("EServices"), Contact = PagePropertyService.GetSettingsPageProperty <Url>("Contact"), }; return(PartialView("_Header", model)); }
public PartialViewResult Index(PageData currentPage) { var model = new FooterViewModel { LinkListArea = PagePropertyService.GetSettingsPageProperty <ContentArea>("LinkListArea"), Facebook = PagePropertyService.GetSettingsPageProperty <Url>("Facebook"), Twitter = PagePropertyService.GetSettingsPageProperty <Url>("Twitter"), LinkedIn = PagePropertyService.GetSettingsPageProperty <Url>("LinkedIn"), Flickr = PagePropertyService.GetSettingsPageProperty <Url>("Flickr"), YouTube = PagePropertyService.GetSettingsPageProperty <Url>("YouTube"), ContactDetails = PagePropertyService.GetSettingsPageProperty <XhtmlString>("ContactDetails") }; return(PartialView("_Footer", model)); }