Пример #1
0
        // GET: 客戶資料/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            var CD = ClientData.Get單一筆客戶資料(id.Value);

            if (CD == null)
            {
                return(HttpNotFound());
            }
            return(View(CD));
        }