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)); }