Beispiel #1
0
        /// <summary>
        /// 更新一条数据
        /// </summary>
        public bool Update(JC.Model.users model)
        {
            var cb = dal.Update(model);

            JC.Common.DataCache.Set(cacName, _GetList());
            return(cb);
        }
Beispiel #2
0
        /// <summary>
        /// 增加一条数据
        /// </summary>
        public int Add(JC.Model.users model)
        {
            var cb = dal.Add(model);

            JC.Common.DataCache.Set(cacName, _GetList());
            return(cb);
        }