public HttpResponseMessage GetAllProductsCompareToSpecificCategory([FromBody]IdentityModel model)
 {
     return SafeAction(() =>
        {
        IDelightServices service = new DelightServices();
        var products = service.GetAllProductsCompareToSpecificCategory(model.Id)
            .OrderByDescending(x => x.InGroup); ;
        if (products == null)
        {
            return Request.CreateResponse(HttpStatusCode.NoContent);
        }
        var response = Request.CreateResponse<IEnumerable<ProductFromCategoryDTO>>(HttpStatusCode.OK, products);
        return response;
        }, model);
 }