public GetToDosHandler(IToDosRepository toDoRepository)
 {
     _toDoRepository = toDoRepository;
 }
 public CreateToDoHandler(IToDosRepository toDoRepository)
 {
     _toDoRepository = toDoRepository;
 }
 public ToDosQuery(IToDosRepository toDoRepo, IToDosAdapter toDoAdpapter, LinkFactory linker)
 {
     this.repo = toDoRepo;
     this.adapter = toDoAdpapter;
     this.linker = linker;
 }
示例#4
0
 public ToDosController(IToDosRepository repository)
 {
     this.repository = repository;
 }