Using WebAPI I have a restful service.
public SomeValue GetSomeValue()
{
}
I need to now pass in a string, but it's optional and a default value is fine:
public SomeValue GetSomeValue(string language="EN")
{
}
Will old clients that I can't update send a call just to GetSomeValue() still work, with a default value sent in? Or do I need to create a second method GetSomeValueForLanguage(string language) with GetSomeValue() calling it internally?