public ActionResult CropTypeDelete(int ID) { CropType p = new CropType(); p.CropTypeID = ID; p.delete(); return(RedirectToAction("CropTypeList")); }