BinaryStudio.TaskManager.Web.Controllers.HumanTasksController.Edit C# (CSharp) Method

Edit() private method

private Edit ( HumanTask humanTask ) : System.Web.Mvc.ActionResult
humanTask BinaryStudio.TaskManager.Logic.Domain.HumanTask
return System.Web.Mvc.ActionResult
        public ActionResult Edit(HumanTask humanTask)
        {
            if (this.ModelState.IsValid)
            {
                this.taskProcessor.UpdateTask(humanTask);
                return this.RedirectToAction("Index");
            }

            this.ViewBag.PossibleCreators = new List<Employee>();
            this.ViewBag.PossibleAssignees = new List<Employee>();
            return this.View(humanTask);
        }

Same methods

HumanTasksController::Edit ( SingleTaskViewModel model ) : System.Web.Mvc.ActionResult
HumanTasksController::Edit ( int id ) : System.Web.Mvc.ActionResult