mvc controller optional parameter code example Example: how to pass an optional parameter in c# mvc asp.net public ActionResult Index(string Country, int Regions = 2)