public ActionResult Edit(int?ID) { if (ID == null) { return(RedirectToAction("Index")); } else { RefereeModel model = _Referee.GetDetail(ID.Value); return(View(model)); } }
public ActionResult Edit(int?ID) { if (ID == null) { return(RedirectToAction("Index")); } else { RefereeModel model = _Referee.GetDetail(ID.Value); return(View(model)); } }