Example #1
0
        public ActionResult P2P(int id)
        {
            try
            {
                var p2p = new DBC.P2PPerson(id);
                var p   = new DBC.Person(p2p.PersonId);

                ViewBag.p2p = p2p;
                ViewBag.p   = p;

                return(View());
            }
            catch
            {
                return(HttpNotFound());
            }
        }
Example #2
0
        public ActionResult P2P(int id)
        {
            try
            {
                var p2p = new DBC.P2PPerson(id);
                var p = new DBC.Person(p2p.PersonId);

                ViewBag.p2p = p2p;
                ViewBag.p = p;

                return View();
            }
            catch
            {
                return HttpNotFound();
            }
        }