I have product controller and two methods edit and fileupload. what should I do in my route config to make these two work.
Product/6 (for editing productid 6)
Product/Fileupload (for uploading file).
my current route in routeconfig is as follows:
routes.MapRoute(
name: "editProducts",
url: "Product/{id}",
defaults: new { controller = "Product", action = "Edit", id=UrlParameter.Optional }
);
Add tahe following routes by same order before the default.