Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "ale1648604090"

the UpdatePayOrderAsync Method:

            public async Task UpdatePayOrderAsync( UpdatePayOrderInput input )
            {
            if (!input.Id.HasValue)
                return;

            var payOrder = await _payorderRepository.GetAsync( input.Id.Value );
            if (input.ContainerId.HasValue)
            {
                payOrder.ContainerId = input.ContainerId;
            }

            if (input.PayPlanId.HasValue)
            {
                payOrder.PayPlanId = input.PayPlanId;
            }

            if (input.OrderPayPlanType.HasValue)
            {
                payOrder.OrderPayPlanType = input.OrderPayPlanType;
            }

            if (!input.OrderPayId.IsNullOrEmpty())
            {
                payOrder.OrderPayId = input.OrderPayId;
            }

            if (!input.TransactionId.IsNullOrEmpty())
            {
                payOrder.TransactionId = input.TransactionId;
            }

            if (input.IsVerify.HasValue)
            {
                payOrder.IsVerify = input.IsVerify.Value;
            }

            await  _payorderRepository.UpdateAsync( payOrder );
            //await CurrentUnitOfWork.SaveChangesAsync();
        }

When I execute UpdatePayOrderAsync for the second time, I get an exception prompt.

Showing 1 to 1 of 1 entries