Check out example codes for "how to pass an optional parameter in c# mvc asp.net". It will help you in understanding the concepts better.

Code Example 1

public ActionResult Index(string Country, int Regions = 2)

Learn ReactJs, React Native from akashmittal.com