public FindByTodoIdService(
     IExistTodoRepository existTodoRepository,
     IFindByTodoIdRepository findByTodoIdRepository)
 {
     this.existTodoRepository    = existTodoRepository;
     this.findByTodoIdRepository = findByTodoIdRepository;
 }
示例#2
0
 public UpdateTodoService(IExistTodoRepository existTodoRepository,
                          Validator validator,
                          IFindTodoRepository findTodoRepository,
                          IUpdateTodoRepository updateTodoRepository)
 {
     this.existTodoRepository  = existTodoRepository;
     this.validator            = validator;
     this.findTodoRepository   = findTodoRepository;
     this.updateTodoRepository = updateTodoRepository;
 }
 public DeleteTodoService(IExistTodoRepository existTodoRepository, IDeleteTodoRepository deleteRepository)
 {
     this.existTodoRepository = existTodoRepository;
     this.deleteRepository    = deleteRepository;
 }