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