public ActionResult Delete(int id, FormCollection collection) { try { routeRepository.Remove(id); return(RedirectToAction("Index")); } catch { return(View()); } }