public TaxaJurosController(ITaxaJurosService taxaJurosService, IMapper mapper, IRequestNotificator notifications) : base(notifications) { _taxaJurosService = taxaJurosService; _mapper = mapper; }
public TaxaJurosController(ILogger <TaxaJurosController> logger, IValidationErrorService validationErrorService, ITaxaJurosService taxaJurosService) { _logger = logger; _validationErrorService = validationErrorService ?? throw new ArgumentNullException(nameof(validationErrorService)); _taxaJurosService = taxaJurosService ?? throw new ArgumentNullException(nameof(taxaJurosService)); }
public async Task <ActionResult> Get([FromServices] ITaxaJurosService service) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } try { return(Ok(await service.Get())); } catch (ArgumentException e) { return(StatusCode((int)HttpStatusCode.InternalServerError, e.Message)); } }
public TaxaJurosController(ITaxaJurosService taxaJuros) { _taxaJuros = taxaJuros; }
public TaxaJurosSeviceTests() { _sut = new TaxaJurosService(_parameters); }
public JurosService(ITaxaJurosService service) { _service = service; }
public TaxaJurosController(ITaxaJurosService service) { _service = service; }
public TaxaJurosAppService(ITaxaJurosService service) { _service = service; }
public TaxaJurosController(ITaxaJurosService taxaJurosService) { _taxaJurosService = taxaJurosService; }
public CalculoJurosController(ITaxaJurosService taxaJurosService, ILogger <CalculoJurosController> logger) { _taxaJurosService = taxaJurosService; _logger = logger; }
public CalculaJurosController(ICalculaJurosService calculaJurosService, ITaxaJurosService taxaJurosService) { _calculaJurosService = calculaJurosService; _taxaJurosService = taxaJurosService; }
public TaxaJurosAppService(ITaxaJurosService taxaJurosService) { _taxaJurosService = taxaJurosService; }
public CalcularTaxaJuros(ITaxaJurosService service) { _service = service; }
public TaxaJurosApplication(ITaxaJurosService taxaJurosService) { _taxaJurosService = taxaJurosService; }
public TaxaJurosTest() { _taxaJurosService = new TaxaJurosService(); }
public void Setup() { _taxaJurosService = Substitute.For <ITaxaJurosService>(); _taxaJurosService.ObterTaxaDeJuros().Returns(0.01d); }
public TaxaJurosController(ITaxaJurosService _iTaxaJurosService) { iTaxaJurosService = _iTaxaJurosService; }
public CalcularTaxaJurosCommandHandler(ITaxaJurosService taxaJurosService) { _taxaJurosService = taxaJurosService; }
public CalculaJurosService(ITaxaJurosService taxaJurosService) { _taxaJurosService = taxaJurosService; }
public UnityTests() { _showMeTheCode = new ShowMeTheCode(); _taxaJurosService = new TaxaJurosService(); _calculoJurosService = new CalculoJurosService(); }
public TaxaJurosController(ILogger <TaxaJurosController> logger, ITaxaJurosService taxaJurosService) { _logger = logger; _taxaJurosService = taxaJurosService; }
public TaxaJurosController(ITaxaJurosService service, ITaxaJurosConfiguration config) { _service = service; _config = config; }