public ActionResult Edit(int ProjectID) { if (ModelState.IsValid) { var model = _db.Get(ProjectID); return(View(model)); } return(View()); }