API Endpoint is Invoked with `null` Argument - C#