// GET: ToDo public ActionResult Index() { var allToDos = _service.GetAll(); return(View(allToDos)); }
public List <Core.Models.Task> Get() { var list = _service.GetAll(); return(list); }