public List <string> viewList() { ToDoListBusinessLayer.BusinessLayer db = new ToDoListBusinessLayer.BusinessLayer(); List <string> ToDoList = db.getToDoList(); return(ToDoList); }
public List <string> addItem(string n) { ToDoListBusinessLayer.BusinessLayer db = new ToDoListBusinessLayer.BusinessLayer(); List <string> ToDoList = db.addToList(n); return(ToDoList); }