public ActionResult Faq() { FaqModel _faqModel = new FaqModel(); _faqModel.FaqList = _faqService.GetAll().Where(x => x.Active == State.Active).ToList(); return View(_faqModel); }
public ActionResult FaqDetail(int faqId) { FaqModel _faqModel = new FaqModel(); _faqModel.Faq = _faqService.Find(faqId); return View(_faqModel); }