public CepService (ICepRepository repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public async Task <ActionResult <Endereco> > Buscar( [FromServices] ICepRepository enderecoService, [FromBody] CepViewModel model) { var endereco = await enderecoService.Buscar(model.Cep); return(endereco); }
public ActivityService(ICepRepository repository, IActivityProcessor processor, ILinkProcessor linkProcessor, IGraphProcessor graphProcessor) { _repository = repository; _activityProcessor = processor; _linkProcessor = linkProcessor; _graphProcessor = graphProcessor; }
public ConsultaCepController(IConfiguration config, ICepRepository repository) { _config = config; _repository = repository; }
public CepService(ICepRepository repository, IViaCepService viaCepService) { _repository = repository; _viaCepService = viaCepService; }
public LinkService(ICepRepository repository) { _repository = repository; }
public PRocessController(ICepRepository repository) { _repository = repository; }