public IHttpActionResult DeleteCusAddRess(int ID)
        {
            var cusAddressService = new CusAddressService();
            var deleteCusAddRess  = cusAddressService.DeleteCusAddress(ID);
            var result            = new
            {
                Count = deleteCusAddRess?"删除成功":"删除失败"
            };

            return(Json(result));
        }
        public IHttpActionResult DelArr(List <int> delArr)
        {
            var  cusAddressService = new CusAddressService();
            bool isResult          = true;

            try
            {
                delArr.ForEach(item =>
                {
                    cusAddressService.DeleteCusAddress(item);
                });
            }
            catch (Exception)
            {
                isResult = false;
                throw;
            }
            var result = new
            {
                Msg = isResult ? "删除成功" : "删除失败"
            };

            return(Json(result));
        }