/// <summary>
        /// Initializes a new instance of the <see cref="MoedaAppService"/> class.
        ///     Construtor padrão de <see cref="MoedaAppService"/>.
        /// </summary>
        /// <param name="uow">
        ///     Contrato do Unit of Work. Veja <see cref="IUnitOfWork"/>.
        /// </param>
        /// <param name="mapper">
        ///     Contrato do AutoMapper. Veja <see cref="IMapper"/>.
        /// </param>
        /// <param name="repository">
        ///     O repositório da entidade Moeda. Veja <see cref="IMoedaRepository"/>.
        /// </param>

        public MoedaAppService(
            IUnitOfWork uow,
            IMapper mapper,
            IMoedaRepository repository)
            : base(uow, mapper, repository)
        {
        }
예제 #2
0
 public VendaAppService(IVendaRepository vendaRepository,
                        IParametrosSigimRepository parametrosRepository,
                        IMoedaRepository moedaRepository,
                        MessageQueue messageQueue)
     : base(messageQueue)
 {
     this.vendaRepository      = vendaRepository;
     this.parametrosRepository = parametrosRepository;
     this.moedaRepository      = moedaRepository;
 }
 public CotacoesController(IMoedaRepository moedaRepository)
 {
     _moedaRepository = moedaRepository;
 }
예제 #4
0
 public MoedasController(IMoedaRepository repository, IConversorMoeda conversorMoeda)
 {
     this.repository     = repository;
     this.conversorMoeda = conversorMoeda;
 }
예제 #5
0
 public ConversorMoeda(IMoedaRepository repository)
 {
     this.repository = repository;
 }