public HttpResponseMessage GetCategories()
 {
     return SafeAction(() =>
     {
         IDelightServices service = new DelightServices();
         var categories = service.GetCategories();
         if (categories == null)
         {
             return Request.CreateResponse(HttpStatusCode.NoContent);
         }
         var response = Request.CreateResponse<IEnumerable<CategoryDTO>>(HttpStatusCode.OK, categories);
         return response;
     });
 }