public ActionResult AddFaq(Faq model) { if (ModelState.IsValid) { var response = _main.AttemptResponse(() => { return(_admin.AddFaq(model)); }); return(RedirectToAction("Faqs")); } return(RedirectToAction("Faqs")); }
public ActionResult AddFaq(Faq model) { if (ModelState.IsValid) { var response = _main.AttemptResponse(() => { return(_admin.AddFaq(model)); }); return(RedirectToAction("Faqs")); } return(RedirectToAction("Faqs")); }