public List <ParentTask> GetAllParentTasks() { TaskManagerBusinessLayer businessLayer = new TaskManagerBusinessLayer(); return(businessLayer.GetAllParentTasks()); }
public string DeleteTask(int id) { TaskManagerBusinessLayer businessLayer = new TaskManagerBusinessLayer(); return(businessLayer.DeleteTask(id)); }
public Task Get(int id) { TaskManagerBusinessLayer businessLayer = new TaskManagerBusinessLayer(); return(businessLayer.GetTask(id)); }
public string EditTask(Task task) { TaskManagerBusinessLayer businessLayer = new TaskManagerBusinessLayer(); return(businessLayer.EditTask(task)); }
public IEnumerable <Task> Get() { TaskManagerBusinessLayer businessLayer = new TaskManagerBusinessLayer(); return(businessLayer.GetAllTasks()); }