예제 #1
0
        // GET: ToDo
        public ActionResult Index()
        {
            var allToDos = _service.GetAll();

            return(View(allToDos));
        }
예제 #2
0
        public List <Core.Models.Task> Get()
        {
            var list = _service.GetAll();

            return(list);
        }