// GET: 客戶資料/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            var 客戶資料 = custrepo.GetSingleDataByCustomerId(id.Value);

            if (客戶資料 == null)
            {
                return(HttpNotFound());
            }
            return(View(客戶資料));
        }