예제 #1
0
 public ActionResult DeleteFaq(Faq model)
 {
     if (ModelState.IsValid)
     {
         var response = _main.AttemptResponse(() => { _admin.DeleteFaq(model.Id); return(true); });
         return(RedirectToAction("Faqs"));
     }
     return(RedirectToAction("Faqs"));
 }