Beispiel #1
0
        public JsonResult ZzCancelSave(long PosConsumeId, List <PosConsumeDetail> fyList)
        {
            var apiResult = new APIResult();
            var user      = UserContext.CurrentUser;

            try
            {
                PosConsumeBll.ZzCancelSave(PosConsumeId, fyList, user.Id, user.Name);
            }
            catch (Exception ex)
            {
                apiResult.Ret = -1;
                apiResult.Msg = ex.Message;
            }

            return(Json(apiResult));
        }