예제 #1
0
 public ActionResult DeleteRelative(int rid)
 {
     //Stores information about relative for usage within the view
     ViewBag.personID       = _treeService.GetRelationship(rid).personID;
     ViewBag.relationshipID = rid;
     return(View(_treeService.GetRelationship(rid)));
 }
        public ActionResult EditRelative(int rid)
        {
            int pid = _treeService.GetRelationship(rid).personID;

            ViewBag.personID       = pid;
            ViewBag.relationshipID = rid;
            return(View(_treeService.GetRelationship(rid)));
        }