public List <ParentTask> GetAllParentTasks()
        {
            TaskManagerBusinessLayer businessLayer = new TaskManagerBusinessLayer();

            return(businessLayer.GetAllParentTasks());
        }
Esempio n. 2
0
        public string DeleteTask(int id)
        {
            TaskManagerBusinessLayer businessLayer = new TaskManagerBusinessLayer();

            return(businessLayer.DeleteTask(id));
        }
Esempio n. 3
0
        public Task Get(int id)
        {
            TaskManagerBusinessLayer businessLayer = new TaskManagerBusinessLayer();

            return(businessLayer.GetTask(id));
        }
Esempio n. 4
0
        public string EditTask(Task task)
        {
            TaskManagerBusinessLayer businessLayer = new TaskManagerBusinessLayer();

            return(businessLayer.EditTask(task));
        }
Esempio n. 5
0
        public IEnumerable <Task> Get()
        {
            TaskManagerBusinessLayer businessLayer = new TaskManagerBusinessLayer();

            return(businessLayer.GetAllTasks());
        }