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