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