예제 #1
0
        public ToDoListAppQueryTest()
        {
            _toDoListRepository = Substitute.For <IToDoListRepository>();
            _mapper             = Substitute.For <IMapper>();

            _toDoListAppQuery = new ToDoListAppQuery(_toDoListRepository, _mapper);
        }
예제 #2
0
 public ToDoListController(IToDoListAppQuery toDoListAppQuery, IToDoListAppService toDoListAppService)
 {
     _toDoListAppQuery   = toDoListAppQuery;
     _toDoListAppService = toDoListAppService;
 }