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