public ActionResult Post_Batch(Batch batch) { if (ModelState.IsValid) { b.AddBatch(batch); return(RedirectToAction("Add_Batch")); } return(View()); }