// Dependências são injetadas
 public PropostasController(IPropostaService service)
 {
     this._service = service;
 }
Beispiel #2
0
 public PropostaAppService(IPropostaService propostaService, IContaRepository contaRepository)
 {
     this.propostaService = propostaService;
     this.contaRepository = contaRepository;
 }
 public CadastroPropostaTests() : base()
 {
     this.clienteService  = container.GetService <IClienteService>();
     this.propostaService = container.GetService <IPropostaService>();
 }
 public PropostaController(IPropostaService propostaService)
 {
     _propostaService = propostaService;
 }
Beispiel #5
0
 public PropsotaApplicationService(IPropostaService propostaService, IUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
     _propostaService = propostaService;
 }