製品コントローラーと、編集とファイルアップロードの 2 つのメソッドがあります。これら2つを機能させるには、ルート構成で何をすべきですか。
Product/6 (productid 6 の編集用)
Product/Fileupload (ファイルのアップロード用)。
routeconfig の現在のルートは次のとおりです。
routes.MapRoute(
name: "editProducts",
url: "Product/{id}",
defaults: new { controller = "Product", action = "Edit", id=UrlParameter.Optional }
);