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