Beispiel #1
0
        /// <summary>
        /// 编辑用户地址
        /// </summary>
        /// <param name="cusAddress"></param>
        /// <returns></returns>
        public bool EditCusAddRess(CusAddress cusAddress)
        {
            var cusAddressRepository = new CusAddressRepository();

            return(cusAddressRepository.EditCusAddRess(cusAddress));
        }
Beispiel #2
0
        /// <summary>
        /// 删除地址
        /// </summary>
        /// <param name="ID"></param>
        /// <returns></returns>
        public bool DeleteCusAddress(int ID)
        {
            var cusAddressRepository = new CusAddressRepository();

            return(cusAddressRepository.DeleteCusAddress(ID));
        }