public ActionResult Edit(WorkItemModel model) { if (TryValidateModel(model)) { _tasksRepository.Modify(model); Json(new { success = true, message = "OK" }); } return Json(new { success = false, message = "Error" }); }
public void Create(WorkItemModel model) { ExecuteProcedure("create_work_item", new { model.TypeId, model.SprintId, model.StateId, model.Reason, model.Effort, model.Description, model.BacklogPriority, model.DateEnded, model.DateStarted, model.AssignedTo }); }
public void Modify(WorkItemModel model) { ExecuteProcedure("update_work_item", model); }