Пример #1
0
 public ConnectorService(
     ILogger <ConnectorService> logger,
     IClientsRepository clientsRepository,
     IRequestsHandler requestsHandler)
 {
     _logger            = logger;
     _clientsRepository = clientsRepository;
     _requestsHandler   = requestsHandler;
 }
Пример #2
0
 public OcrController(IRequestsHandler requestHandler, IOcrReader ocrReader)
 {
     _requestHandler = requestHandler;
     _ocrReader      = ocrReader;
 }
Пример #3
0
 public < %= ModelName %> sController(IRepository repository, IRequestsHandler requestsHandler) : base(repository, requestsHandler, new < %= ModelName % > Validator(repository))
Пример #4
0
 public UsersController(IRepository repository, IRequestsHandler requestsHandler, IBearerAuth bearerAuth) : base(repository, requestsHandler, new UserValidator(repository))
 {
     _repository      = repository;
     _requestsHandler = requestsHandler;
     _bearerAuth      = bearerAuth;
 }
Пример #5
0
 public BaseController(IRepository repository, IRequestsHandler requestsHandler, AbstractValidator <T> validator)
 {
     _repository      = repository;
     _requestsHandler = requestsHandler;
     _validator       = validator;
 }