コード例 #1
0
        public ActionResult Edit(int id)
        {
            Context.Location dbitem = RepoLocation.FindByPK(id);
            Location         model  = new Location(dbitem);

            ViewBag.name = model.Nama;
            return(View("Form", model));
        }