public ActionResult MilksummaryEdit(MilkSummeryEdit newentry) { if (ModelState.IsValid) { if (AgroExpressDBAccess.EditMilkSummary(newentry)) { return(RedirectToAction("Index", "Administrator")); } } return(View(newentry)); }