Implemented actionDelete in ApiController