public void ChangeDirector([FromBody] Task task) { _taskRepository.ChangeDirector(task); }
public void ChangeStatus([FromBody] Task task) { _taskRepository.ChangeStatus(task); }
public void PostTask([FromBody] Task task) { _userRepository.PostTask(task); }
public void Put([FromBody] Task task) { _taskRepository.Put(task); }
public void PostTask(Task task) { context.Tasks.Add(task); context.SaveChanges(); }