Ejemplo n.º 1
0
 public List <TodoList> GetTodoLists(string username)
 {
     return(todoListRepository.GetTodoLists(username));
 }
Ejemplo n.º 2
0
        public ActionResult <IEnumerable <TodoList> > GetTodoLists()
        {
            var todoLists = _todoListRepository.GetTodoLists();

            return(Ok(_mapper.Map <IEnumerable <TodoListReadDto> >(todoLists)));
        }