public ClienteRabbitMq(IControleDeCryptoMoeda controleDeCryptoMoeda) { var conexao = CriarConexao(); _modelo = conexao.CreateModel(); _controleDeCryptoMoeda = controleDeCryptoMoeda; }
public CryptoMoedaController(IConsultaDeCryptoMoeda consultaDeCryptoMoeda, IControleDeCryptoMoeda controleDeCryptoMoeda, IUnitOfWork unitOfWork) { _consultaDeCryptoMoeda = consultaDeCryptoMoeda; _controleDeCryptoMoeda = controleDeCryptoMoeda; _unitOfWork = unitOfWork; }