// GET: CVs/Details/5 public ActionResult Details(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } CV cv = repo.GetCvById(id.Value); if (cv == null) { return(HttpNotFound()); } return(View(cv)); }
// GET: CVs/Details/5 public ActionResult Details(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } CV cv = repo.GetCvById(id.Value); if (cv == null) { return(HttpNotFound()); } return(View(cv)); }