public Index ( int id ) : System.Web.Mvc.ActionResult | ||
id | int | |
return | System.Web.Mvc.ActionResult |
public ActionResult Index(int? id)
{
if (id != null)
return RedirectToAction("Index", "Timer", new { checkpoint_id = id });
return View(CheckpointModel.getAll());
}