Пример #1
0
 public ActionResult CreatePerson()
 {
     Fusion.Models.BC.BCViewModels.PersonViewModel pvm = new Models.BC.BCViewModels.PersonViewModel();
     pvm.FillListData();
     return View(pvm);
 }
Пример #2
0
        public ActionResult EditPerson(int? id)
        {
            if (id == null)
                return RedirectToAction("Persons");

            Fusion.Models.BC.BCViewModels.PersonViewModel pvm = new Models.BC.BCViewModels.PersonViewModel();
            pvm.GetPerson(id);
            return View(pvm);
        }