public ToDoListsController(IQueryToDoLists queryToDoLists)
 {
     _iqueryToDoLists = queryToDoLists;
     _todoListService = new ToDoListService(_iqueryToDoLists);
     todoListsModel   = new ToDoListsModel(_todoListService.All());
 }
Example #2
0
 public ToDoListService(IQueryToDoLists iqueryToDoLists)
 {
     _iqueryToDoLists = iqueryToDoLists;
 }
Example #3
0
 public ToDoListController(IQueryToDoLists queryToDoLists)
 {
     _iqueryToDoLists = queryToDoLists;
     _todoListService = new ToDoListService(_iqueryToDoLists);
 }