Example #1
0
 public ActionResult Edit([Bind(Include = "Id,name,content,CreatedTime,IsCompleted,ManagerId,budget,deadline,priority")] Project project)
 {
     if (ModelState.IsValid)
     {
         ProjectHelper.Edit(project.Id, project.Name, project.Content, project.IsCompleted, project.Budget, project.Deadline, project.Priority);
         return(RedirectToAction("Index"));
     }
     return(View(project));
 }