public ActionResult Filter2(Models.Product login) { //ProductDataContext.InsertProducts22(login); if (Request.Form.Count > 0) { ProductDataContext.EditProduct1(login); //return RedirectToAction("Index"); } //return RedirectToAction("Index"); //} //return View(Request.Form.Count); //return Json(login, JsonRequestBehavior.AllowGet); //return Json("filter1"); return(View("Filter2")); }