/// <summary>
 /// Construtor Padrão
 /// </summary>
 /// <param name="showMeTheCode">show Me The Code</param>
 public ShowMeTheCodeController(IShowMeTheCode showMeTheCode)
 {
     _showMeTheCode = showMeTheCode;
 }
Esempio n. 2
0
 public ShowMeTheCodeController(ILogger <ShowMeTheCodeController> logger, IShowMeTheCode showMeTheCode)
 {
     _logger        = logger;
     _showMeTheCode = showMeTheCode;
 }
 public TestaServicoDoShowMeTheCode(ContainerFixture container)
 {
     _showMeTheCode = container.ShowMeTheCode;
 }
Esempio n. 4
0
 public UnityTests()
 {
     _showMeTheCode       = new ShowMeTheCode();
     _taxaJurosService    = new TaxaJurosService();
     _calculoJurosService = new CalculoJurosService();
 }
Esempio n. 5
0
        public IActionResult Get([FromServices] IShowMeTheCode showMeTheCodeService)
        {
            var repositoryUrl = showMeTheCodeService.GetUrl();

            return(new OkObjectResult(repositoryUrl));
        }