public ActionResult EditProductType(FormCollection fc) { if (ModelState.IsValid) { po.UpdateProductType(int.Parse(fc["Id"].ToString()), fc["typename"].ToString(), fc["taxrate"].ToString(), fc["associatedclub"].ToString()); } return(RedirectToAction("Index")); }