Esempio n. 1
0
 public ActionResult About()
 {
     if (_session.IsLogin && _session.IsStore && _session.IsAdmin)
         {
             IAbout _cls = new AboutBO();
             var model = _cls.GetData(_session.SiteID, _session.LangID);
             return View(model);
         }
         else
             return RedirectToAction("index", "admin");
 }
Esempio n. 2
0
 public ActionResult About()
 {
     IAbout _about = new AboutBO();
         vw_About model = _about.GetData(_session.SiteID, _session.LangID);
         return View(model);
 }