make a get parameter optional in c# code example
Example: optional arguments c#
public void ExampleMethod(int required,
string optionalstr = "default string",
int optionalint = 10)
public void ExampleMethod(int required,
string optionalstr = "default string",
int optionalint = 10)