public AgenciasController(IAgenciaRepository agenciaRepository, IBancoRepository bancoRepository, IPessoaJuridicaRepository pessoaJuridicaRepository, ApplicationContext contexto) { this.agenciaRepository = agenciaRepository; this.bancoRepository = bancoRepository; this.pessoaJuridicaRepository = pessoaJuridicaRepository; this.contexto = contexto; }
public ContaInvestimentoService(IExtratoInvetimentoRepository extratoInvestimentoRepository, IContaInvestimentoRepository contaInvestimentoRepository, IAgenciaRepository agenciaRepository, IContaRepository contaRepository) { ExtratoInvestimentoRepository = extratoInvestimentoRepository; ContaInvestimentoRepository = contaInvestimentoRepository; AgenciaRepository = agenciaRepository; ContaRepository = contaRepository; }
public AgenciaAppService(IAgenciaRepository agenciaRepository, IParametrosFinanceiroRepository parametrosFinanceiroRepository, MessageQueue messageQueue) : base(messageQueue) { this.agenciaRepository = agenciaRepository; this.parametrosFinanceiroRepository = parametrosFinanceiroRepository; }
public AgenciaService(IEnderecoRepository enderecorepository, IAgenciaRepository agenciarepository, IAgenciaUsuarioRepository agenciausuariorepository, IClaimsRepository claimsRepository) { _enderecorepository = enderecorepository; _agenciarepository = agenciarepository; _agenciausuariorepository = agenciausuariorepository; _claimrepository = claimsRepository; }
public AgenciaCommandHandler(IAgenciaRepository agenciaRepository, IUnitOfWork uow, IBus bus, IDomainNotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications) { _agenciaRepository = agenciaRepository; _bus = bus; }
public ContasCorrentesController(ApplicationContext contexto, IContaCorrenteRepository contaCorrenteRepository, IEmpresaRepository empresaRepository, IFilialRepository filialRepository, IBancoRepository bancoRepository, IAgenciaRepository agenciaRepository) { this.contexto = contexto; this.contaCorrenteRepository = contaCorrenteRepository; this.empresaRepository = empresaRepository; this.filialRepository = filialRepository; this.bancoRepository = bancoRepository; this.agenciaRepository = agenciaRepository; }
public PolizaService(IAgenciaRepository agenciaRepository, ICiudadRepository ciudadRepository, IClienteRepository clienteRepository, IPolizaRepository polizaRepository, ITipoCubrimientoRepository tipoCubrimientoRepository, ITipoRiesgoRepository tipoRiesgoRepository, IMapper mapper) { _agenciaRepository = agenciaRepository; _ciudadRepository = ciudadRepository; _clienteRepository = clienteRepository; _polizaRepository = polizaRepository; _tipoCubrimientoRepository = tipoCubrimientoRepository; _tipoRiesgoRepository = tipoRiesgoRepository; _mapper = mapper; }
public HomeController(IBancoRepository bancoRepository, IEmpresaRepository empresaRepository, IFilialRepository filialRepository, IPessoaJuridicaRepository pessoaJuridicaRepository, IPessoaFisicaRepository pessoaFisicaRepository, IAgenciaRepository agenciaRepository, IUsuarioRepository usuarioRepository, IContaCorrenteRepository contaCorrenteRepository, IPostoDeCaixaRepository postoDeCaixaRepository, IMovimentoBancarioRepository movimentoBancarioRepository, ApplicationContext contexto) { this.bancoRepository = bancoRepository; this.empresaRepository = empresaRepository; this.filialRepository = filialRepository; this.pessoaJuridicaRepository = pessoaJuridicaRepository; this.pessoaFisicaRepository = pessoaFisicaRepository; this.agenciaRepository = agenciaRepository; this.usuarioRepository = usuarioRepository; this.contaCorrenteRepository = contaCorrenteRepository; this.postoDeCaixaRepository = postoDeCaixaRepository; this.movimentoBancarioRepository = movimentoBancarioRepository; this.contexto = contexto; }
public TrabalhoController(IEmailServices emailServices, ITrabalhoRepository trabalhoRepository, UserManager <ApplicationUser> userManager, IAccountRepository accountRepository, IEventoRepository eventoRepository, IAreaRepository areaRepository, IAutorRepository autorRepository, IAgenciaRepository agenciaRepository, IAvaliacaoRepository avaliacaoRepository, ITrabalhoServices trabalhoServices, IAreaServices areaServices) { _emailServices = emailServices; _trabalhoRepository = trabalhoRepository; _userManager = userManager; _accountRepository = accountRepository; _eventoRepository = eventoRepository; _areaRepository = areaRepository; _autorRepository = autorRepository; _agenciaRepository = agenciaRepository; _avaliacaoRepository = avaliacaoRepository; _trabalhoServices = trabalhoServices; _areaServices = areaServices; }
public AgenciaConsistenteParaCadastroValidation(IAgenciaRepository agenciarepository) { var cnpjduplicado = new CnpjUnicoSpecification(agenciarepository); var cnpjFormato = new CnpjFormatoCorretoSpecification(); var cnpjTamanho = new CnpjTamanhoIncorretoSpecification(); var nomeFantasia = new NomeFantasiaFormatoCorretoSpecification(); var razaoSocial = new RazaoSocialFormatoSpecification(); base.Add("cnpjduplicado", new Rule <Agencia>(cnpjduplicado, "CNPJ já cadastrado.")); base.Add("cnpjFormato", new Rule <Agencia>(cnpjFormato, "O CNPJ está em formato incorreto.")); base.Add("cnpjTamanho", new Rule <Agencia>(cnpjTamanho, "O CNPJ está em tamanho incorreto.")); base.Add("nomeFantasia", new Rule <Agencia>(nomeFantasia, "O Nome Fantasia deve ter pelo meno 2 caracteres.")); base.Add("razaoSocial", new Rule <Agencia>(razaoSocial, "A Razão Social deve dete ter pelo menos 2 caracteres.")); }
public AdministradorController(ITrabalhoRepository trabalhoRepository, UserManager <ApplicationUser> userManager, IAccountRepository accountRepository, IEventoRepository eventoRepository, IAreaRepository areaRepository, IAutorRepository autorRepository, IAgenciaRepository agenciaRepository, IAdministradorRepository administradorRepository, ILocalizacaoRepository localizacaoRepository, IEmailServices emailServices, IAdministradorServices administradorServices, ILocalizacaoServices localizacaoServices) { _trabalhoRepository = trabalhoRepository; _userManager = userManager; _accountRepository = accountRepository; _eventoRepository = eventoRepository; _areaRepository = areaRepository; _autorRepository = autorRepository; _agenciaRepository = agenciaRepository; _administradorRepository = administradorRepository; _localizacaoRepository = localizacaoRepository; _emailServices = emailServices; _administradorServices = administradorServices; _localizacaoServices = localizacaoServices; }
public DeveExistirApenasUmaAgenciaSpecification(Agencia entidade, IAgenciaRepository agenciaRepository) : base(entidade) { _agenciaRepository = agenciaRepository ?? throw new ArgumentNullException(nameof(agenciaRepository)); }
public AgenciaService(IAgenciaRepository agencias) { _Agencias = agencias; }
public AgenciaAppService(IBus bus, IMapper mapper, IAgenciaRepository agenciaRepository) { _bus = bus; _mapper = mapper; _agenciaRepository = agenciaRepository; }
public AgenciaController(IAgenciaRepository agenciaRepository) { _agenciaRepository = agenciaRepository; }
public CnpjUnicoSpecification(IAgenciaRepository agenciarepositorio) { _agenciarepositorio = agenciarepositorio; }
public AgenciaController(INotificationHandler <DomainNotification> notifications, IUsuario usuario, IMediatorHandler mediator, IAgenciaRepository agenciaRepository, IMapper mapper) : base(notifications, usuario, mediator) { _agenciaRepository = agenciaRepository ?? throw new ArgumentNullException(nameof(agenciaRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public AgenciaController(IAgenciaRepository agencia) { _agencia = agencia; }
public ContaCorrenteService(IAgenciaRepository agenciaRepository, IContaRepository contaRepository, IExtratoRepository extratoRepository) { AgenciaRepository = agenciaRepository; ContaRepository = contaRepository; ExtratoRepository = extratoRepository; }
public AgenciaEstaConsistenciaParaCadastroValidation(Agencia entidade, IAgenciaRepository agenciaRepository) : base(entidade) { _agenciaRepository = agenciaRepository ?? throw new ArgumentNullException(nameof(agenciaRepository)); Validar(); }