コード例 #1
0
 public ActionResult Filter3(Models.Product login)
 {
     //ProductDataContext.InsertProducts22(login);
     if (Request.Form.Count > 0)
     {
         ProductDataContext.DeleteProduct1(login);
         //return RedirectToAction("Index");
     }
     //return RedirectToAction("Index");
     //}
     //return View(Request.Form.Count);
     //return Json(login, JsonRequestBehavior.AllowGet);
     //return Json("filter1");
     return(View("Filter3"));
 }