public async Task<HttpResponseMessage> PutProductStatistic(ProductStatistic productStatistic)
        {
            JObject result = new JObject();
            if (!ModelState.IsValid)
            {
                return Request.CreateResponse(HttpStatusCode.BadRequest, ModelState);
            }
                        
            db.Entry(productStatistic).State = EntityState.Modified;

            try
            {
                await db.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!ProductStatisticExists(productStatistic.Id))
                {
                    result = Methods.CustomResponseMessage(0, "Request isn't exists!");
                    return Request.CreateResponse(HttpStatusCode.NotFound, result);
                }
                else
                {
                    throw;
                }
            }

            result = Methods.CustomResponseMessage(1, "Put Request is successful!");
            return Request.CreateResponse(HttpStatusCode.OK, result);
        }
        public async Task<HttpResponseMessage> PostProductStatistic(ProductStatistic productStatistic)
        {
            JObject result = new JObject();
            if (!ModelState.IsValid)
            {                
                return Request.CreateResponse(HttpStatusCode.BadRequest, ModelState);
            }

            db.ProductStatistics.Add(productStatistic);
            await db.SaveChangesAsync();

            result = Methods.CustomResponseMessage(0, "Post Request is successful!");
            return Request.CreateResponse(HttpStatusCode.OK, result);
        }