public ActionResult Edit(ProjectEditViewModel model) { if (ModelState.IsValid) { projectFacade.UpdateProject(model.Project); return(RedirectToAction("Projects")); } return(View(model)); }
public async Task Update(ProjectDTO project) { await projectFacade.UpdateProject(project); }