public void EndTask(int taskId) { TaskManagerDA taskManagerDA = new TaskManagerDA(); taskManagerDA.EndTask(taskManagerDA.ReadTask(taskId)); }
public Task ReadTask(int TaskId) { TaskManagerDA taskManagerDA = new TaskManagerDA(); return(taskManagerDA.ReadTask(TaskId)); }