Esempio n. 1
0
        // GET: 客戶資料/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            客戶資料 客戶資料 = Repo.Find(id);

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

            ViewBag.客戶聯絡人s = Repo.Get客戶聯絡人by客戶資料ID(id);
            return(View(客戶資料));
        }