// GET: AboutUs public ActionResult Introduction() { AboutUsIntroduction aboutUsIntroduction = _aboutUsDao.GetAboutUsIntroduction(); ViewBannerModel viewBanner = _bannerDao.GetViewBanner(); if (viewBanner != null && viewBanner.AboutUsBanner != null && viewBanner.AboutUsBanner.Count > 0) { aboutUsIntroduction.AboutUsBanner = viewBanner.AboutUsBanner.Where(s => s.Page == "Introduction").FirstOrDefault(); } return(View(aboutUsIntroduction)); }
// GET: Admin/AboutUs public ActionResult Introduction() { AboutUsIntroduction aboutUsIntroduction = _aboutUsDao.GetAboutUsIntroduction(); return(View(aboutUsIntroduction)); }