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