I am using WebAPI and implemented a controller method Delete with HTTP verb as [HTTPDELETE]. Please find the syntax below:
[HttpDelete]
public Resonse Delete([FromBody]Guid[] input)
{
\\method processing
}
I am using RestAngular to call this method.
let so = {"asde-wert-wedc-ewsdc", "asde-wert-wedc-ewsdc"};
Students.one(1234).remove(so);
When I am trying to run it. I am getting 500 internal server error.
I need to pass an array of Guid to my Delete method in controller using restangular.