コード例 #1
0
ファイル: ContactController.cs プロジェクト: tnfan/aspnetmvc
 public ActionResult Feedback(Feedback feedback)
 {
     if (ModelState.IsValid)
     {
         var fb = new ContactDAL();
         fb.Insert(feedback);
         return(View());
     }
     return(View("Index"));
 }