public ActionResult Edit(int TechCategoryID, FormCollection collection) { try { myHandler = new BusinessLogicHandler(); tech = new TechCategory(); TryUpdateModel(tech); if (ModelState.IsValid) { myHandler.UpdateTechnologyType(tech); } return RedirectToAction("Index", "TechCategory"); } catch { return View(); } }