My webAPI solution currently works if I send a single id to the delete endpoint:
DELETE /api/object/1
With:
[HttpDelete]
public HttpResponseMessage DeleteFolder(int id)
{
// Do stuff
}
In my client application I have a UI that allows for multiple deletes - right now it's just calling this endpoint in a loop for each one of the ids selected, which isn't super performant. I'd like to be able to send an array of Ids to the Delete method in this case... how can this be achieved?