示例#1
0
        public void DeleteDetail(int productId, int orderId, int productConditionId)
        {
            var detail = _orderDetailRepository.FindSingle(x => x.ProductId == productId &&
                                                           x.OrderId == orderId && x.ProductConditionId == productConditionId);

            _orderDetailRepository.Remove(detail);
        }