Beispiel #1
0
        /// <summary>
        /// 得到一条关账日信息信息
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        public ActionResult GetOneAccountDate(int id)
        {
            ResultData <AccountDateResultDTO> result = new ResultData <AccountDateResultDTO>();

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

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