public HttpResponseMessage GetCategory([FromBody]IdentityModel model)
 {
     return SafeAction(() =>
       {
       IDelightServices service = new DelightServices();
       var category = service.GetCategory(model.Id);
       if (category == null)
       {
           return Request.CreateResponse(HttpStatusCode.NoContent);
       }
       var response = Request.CreateResponse<CategoryDTO>(HttpStatusCode.OK, category);
       return response;
       }, model);
 }