public ActionResult Social(ZCMSSocial social) { social.Facebook.ServiceName = "Facebook"; social.Twitter.ServiceName = "Twitter"; social.Disqus.ServiceName = "Disqus"; _worker.CmsContentRepository.SaveSocialConfigs(social); return RedirectToAction("Social"); }
public ActionResult Social() { ZCMSSocial zSocial = new ZCMSSocial(_worker.CmsContentRepository.GetSocialServiceConfigs()); return View(zSocial); }