Added delete functionality, both in JS and in the WebApi Controller