//Construtor tendo injetado as interfaces necessárias
 // para a utilização deste ApplicationService
 public RecebimentoApplicationService(
     IRecebimentoRepository recebimentoRepository,
     ICreditoRepository creditoRepository)
 {
     //Repasse da injeção para as variáveis internas
     _recebimentoRepository = recebimentoRepository;
     _creditoRepository = creditoRepository;
 }
示例#2
0
 public RecebimentoService(IRecebimentoRepository recebimentoRepository)
 {
     _recebimentoRepository = recebimentoRepository;
 }