In my WebApi I want to have method witch accepts ID list as parameter and deletes them all. So this method looks like code below.
[HttpDelete]
public IHttpActionResult DeleteList([FromBody]IEnumerable<int> templateIds)
I also need Unit Test to be written for this using .NET's HttpClient. So my question is: how can I pass array/list of Ids to WebApi using HttpClient DeleteAsync?
:)