예제 #1
0
        /// <summary>
        /// 得到一条付款条款信息
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        public ActionResult GetPayment(int id)
        {
            ResultData <PaymentResultDTO> result = new ResultData <PaymentResultDTO>();

            try
            {
                result = BaseInfoProvider.GetPayment(id);
            }
            catch (Exception ex)
            {
                result.SubmitResult = false;
                result.Message      = ex.Message;
            }

            return(Json(result, JsonRequestBehavior.AllowGet));
        }