Example #1
0
        /// <summary>
        /// 删除所有本地商品
        /// </summary>
        /// <param name="userid">The userid.</param>
        /// <returns>true if XXXX, false otherwise.</returns>
        public bool DeleteAllGoods(int userid)
        {
            bool flag = dal.DeleteAllGoods(userid);

            if (flag)
            {
                dal.DeleteAllTaskPlan(userid);
            }
            return(flag);
        }
Example #2
0
 /// <summary>
 /// 删除所有本地商品
 /// </summary>
 /// <param name="userid">The userid.</param>
 /// <returns>true if XXXX, false otherwise.</returns>
 public bool DeleteAllGoods(int userid)
 {
     return(dal.DeleteAllGoods(userid));
 }