예제 #1
0
 public ActionResult Create(Faq @faq)
 {
     if (ModelState.IsValid)
     {
         faqService.Insert(@faq);
         faqService.Commit();
         SuccessMessage(FormMessages.SaveSuccess);
         return(RedirectToAction("Index"));
     }
     return(View(@faq));
 }