Exemple #1
0
        public ClienteRabbitMq(IControleDeCryptoMoeda controleDeCryptoMoeda)
        {
            var conexao = CriarConexao();

            _modelo = conexao.CreateModel();
            _controleDeCryptoMoeda = controleDeCryptoMoeda;
        }
Exemple #2
0
 public CryptoMoedaController(IConsultaDeCryptoMoeda consultaDeCryptoMoeda, IControleDeCryptoMoeda controleDeCryptoMoeda, IUnitOfWork unitOfWork)
 {
     _consultaDeCryptoMoeda = consultaDeCryptoMoeda;
     _controleDeCryptoMoeda = controleDeCryptoMoeda;
     _unitOfWork            = unitOfWork;
 }