If I understand the situation correctly:
public class ImageGeneratorController : Controller {
public ActionResult BarChart(int width, int height, int chartId) {
}
}
To create a link:
Url.Action("BarChart", "ImageGenerator", new {
width = 1024,
height = 768,
chartId = 50
});
It will display:
/ImageGenerator/BarChart?width=1024&height=768&chartId=50
source
share