public ActionResult EditTestReport(RollerTestreportInfo rollertestreportinfo) { testreportrepo.SaveRollerTestreportInfo(rollertestreportinfo); Entities context = new Entities(); context.PROCEDURE_ROLLERTESTREPORTINFO(0); context.SaveChanges(); return(RedirectToAction("Index", "TestBlock")); }
public ActionResult SampleDecide(RollerTestreportInfo rollertestreportinfo) { testreportinfoRepo.SaveRollerTestreportInfo(rollertestreportinfo); //return RedirectToAction("SampleDecide", new { RollerSampleInfoID = rollertestreportinfo.RollerSampleInfoID }); //return RedirectToAction("../TestBlock/Index", new { RollerSampleInfoID = rollertestreportinfo.RollerSampleInfoID }); return(RedirectToAction("../TestBlock/Index")); }