public ActionResult GetFAQQuestions() { if (WebSecurity.IsAuthenticated && UserVM != null) { return(RedirectToAction("FAQ", "FAQ")); } else { IFAQService _faqsrv = new FAQService(); return(View("../TCPViews/FAQ", _faqsrv.GetDetails())); } }
public FAQViewModel() { FAQList = new FAQService().GetAll(); }
public FAQController(FAQService faqSrv) { _faqsrv = faqSrv; _faqsrv.UserVM = UserVM; }