コード例 #1
0
        public ActionResult Edit(int personId)
        {
            var      db = new PeopleDb(@"Data Source=.\sqlexpress;Initial Catalog=Food;Integrated Security=True");
            Customer c  = db.FindById(personId);

            return(View(c));
        }