Exemplo n.º 1
0
 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);
 }