public ActionResult EditLinksContacts(string EncryptedId) { if (!string.IsNullOrEmpty(EncryptedId)) { LinksContacts linksContacts = _contactUsDao.GetEditLinkContacts(new Guid(EncryptedId)); return(View(linksContacts)); } return(View()); }
public ActionResult AddLinksContacts(LinksContacts LC) { Int64 Result = _contactUsDao.SaveLinkContacts(LC); if (Result > 0) { return(RedirectToAction("UsefulLinksContacts")); } return(View()); }
public ActionResult Preview(LinksContacts LC) { LinksContacts linksContacts = LC; ViewBannerModel viewBanner = _bannerDao.GetViewBanner(); if (viewBanner != null && viewBanner.ContactUsBanner != null && viewBanner.ContactUsBanner.Count > 0) { linksContacts.ContactUsBanner = viewBanner.ContactUsBanner.Where(s => s.Page == "Useful Links & Contacts").FirstOrDefault(); } return(View(linksContacts)); }