public HttpResponseMessage DeleteVote([FromBody]IdentityModel model) { return SafeAction(() => { IDelightServices service = new DelightServices(); service.DeleteVote(model.Id); var response = Request.CreateResponse(HttpStatusCode.OK); return response; }, model); }