// GET: TodoItem public ActionResult Index() { TodoClient tc = new TodoClient(); if (tc != null) { ViewBag.listTodo = tc.findAll(); } return(View()); }