// GET: Role/Details/5 public ActionResult Details(int id) { UserBLL User; try { using (ContextBll ctx = new ContextBll()) { User = ctx.FindUserByID(id); if (null == User) { return(View("ItemNotFound")); // BKW make this view } } } catch (Exception ex) { ViewBag.Exception = ex; return(View("Error")); } return(View(User)); }