public HttpResponseMessage UpdateDiscounts(Discount discount, Guid id)
        {
            var result = QsDataRepository.UpdateDiscounts(discount, id);

            return(Request.CreateResponse(!result ? HttpStatusCode.OK : HttpStatusCode.ExpectationFailed));
        }