How to add an array as parameter?

I'm new to radzen, and wanted to test it, so I'm using the petstore API example of swagger to try making a radzen blazor project with swagger. ( )

I made a new page from scratch, and added a datagrid that requests the findPetsByStatus functionality.

I need to add a status, but it requires an array instead of a string.

So I invoked the method findPetsByStatus & I added the status parameter, now what should I enter in the value field to pass an array of 1 string? ('available') or multiple strings?

Thanks in advance.

new List<string>(){"available"}.ToArray() or simply new string[] { "available" }

1 Like

oh my god. Of course :slight_smile:
Thank you very much!