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"); }
public ActionResult About() { IAbout _about = new AboutBO(); vw_About model = _about.GetData(_session.SiteID, _session.LangID); return View(model); }