public ActionResult EditProject(Project project) { if (this.ModelState.IsValid) { this.projectRepository.Update(project); return this.RedirectToAction("AdminPanel"); } return this.View(project); }