public void Post([FromBody] Detail_Response_v1 request)
        {
            Detail detail = new Detail();

            detail.Quantity = request.Quantity;
            detail.Prize    = request.Prize;

            service.Insert(detail);
        }
        public Detail_Response_v1 Get(int id)
        {
            Detail             detail   = service.GetById(id);
            Detail_Response_v1 response = new Detail_Response_v1();

            response.DetailID = detail.DetailID;
            response.Quantity = detail.Quantity;
            response.Prize    = detail.Prize;
            response.Product  = detail.Product;
            response.Invoice  = detail.Invoice;

            return(response);
        }