2- 3- , .
To list app child records for a specific parent: Parent/< ID>/Child/List
To view details for a specific child record: Child/Details/< ID>
To edit a specific child record: Child/Edit/< ID>
routes.MapRoute(
"ParentWithChild",
"{parent}/{id}/Child/List",
new { controller = "Child", action = "ChildList", id = "", parent=""}
, ChildList
:
public ActionResult ChildList(string parent, string id)
, "" - , ,
"Parent/{id}/Child/List",
public ActionResult ChildList(string id)