Exemplo n.º 1
0
        /// <summary>
        /// 添加新的进出记录
        /// </summary>
        /// <param name="model"></param>
        public static HandleResult AddEnterOutLog(EnterOutLogInfo model, ref int newLogId)
        {
            IWCFService.ISeatManageService seatService = new WcfServiceForSeatManage.SeatManageDateService();
            bool error = false;

            try
            {
                HandleResult result = seatService.AddEnterOutLogInfo(model, ref newLogId);
                return(result);
            }
            catch (Exception ex)
            {
                error = true;
                WriteLog.Write("添加进出记录遇到错误:" + ex.Message);
                return(HandleResult.Failed);
            }
        }