Exemplo n.º 1
0
        //skatīšanās
        public ActionResult View(long personId)
        {
            var db     = new PersonListEntities();
            var person = db.Persons.Find(personId);
            var model  = new PersonModel2(person);

            return(View(model));
        }