Ejemplo n.º 1
0
        public JsonResult ZzSave(long PosConsumeId, long toRoomRegId, List <PosConsumeDetail> fyList)
        {
            var apiResult = new APIResult();
            var user      = UserContext.CurrentUser;

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

            return(Json(apiResult));
        }