Exemplo n.º 1
0
 public TipoEventoController(ICommandBus commandBus, ITipoEventoRepository tipoeventoRepository, ITipoEvento_IdiomaRepository tipoevento_IdiomaRepository)
 {
     this.commandBus                  = commandBus;
     this.tipoeventoRepository        = tipoeventoRepository;
     this.tipoevento_IdiomaRepository = tipoevento_IdiomaRepository;
     log4net.Config.XmlConfigurator.Configure();
 }
Exemplo n.º 2
0
 public TipoEventoService(
     ITipoEventoRepository tipoEventoRepository,
     IMediatorHandler bus,
     IUnitOfWork uow,
     INotificationHandler <DomainNotification> notifications
     ) : base(bus, uow, notifications)
 {
     _tipoEventoRepository = tipoEventoRepository;
 }
Exemplo n.º 3
0
 public EventiController(IEventoRepository eventoRepository, IAutoreRepository authorRepository,
                         IEsitoRepository esitoRepository, IFazioneRepository fazioneRepository, IGravitaRepository gravitaRepository,
                         ILocalitaRepository localitaRepository, IMandanteRepository mandanteRepository, ITipoEventoRepository tipoEventoRepository,
                         ITipoVittimaRepository tipoVittimaRepository)
 {
     _eventoRepository      = eventoRepository;
     _authorRepository      = authorRepository;
     _esitoRepository       = esitoRepository;
     _fazioneRepository     = fazioneRepository;
     _gravitaRepository     = gravitaRepository;
     _localitaRepository    = localitaRepository;
     _mandanteRepository    = mandanteRepository;
     _tipoEventoRepository  = tipoEventoRepository;
     _tipoVittimaRepository = tipoVittimaRepository;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Instancia este objeto para que haja a referência aos métodos no repositório
 /// </summary>
 public TiposEventoController()
 {
     _tipoEventoRepository = new TipoEventoRepository();
 }
Exemplo n.º 5
0
 public TiposEventosController()
 {
     //Cria uma instancia de TipoEventoReppository
     TipoEventoRepository = new TipoEventoRepository();
 }
 public TiposEventosController()
 {
     TipoEventoRepositorio = new TipoEventoRepository();
 }
Exemplo n.º 7
0
 public TipoEventoController(ITipoEventoRepository repository)
 {
     this.repository = repository;
 }
Exemplo n.º 8
0
 public DeleteTipoEventoHandler(ITipoEventoRepository TipoEventoRepository, IUnitOfWork unitOfWork)
 {
     this.TipoEventoRepository = TipoEventoRepository;
     this.unitOfWork           = unitOfWork;
 }
Exemplo n.º 9
0
 public TiposEventoController()
 {
     //O objeto recebe os metodos de TipoEventoRepository
     _tipoEventoRepository = new TipoEventoRepository();
 }
 public CreateOrUpdateTipoEventoHandler(ITipoEventoRepository TipoEventoRepository, IUnitOfWork unitOfWork)
 {
     this.TipoEventoRepository = TipoEventoRepository;
     this.unitOfWork           = unitOfWork;
 }
Exemplo n.º 11
0
 public TipoEventiController(ITipoEventoRepository tipoEventoRepository, IEventoRepository eventoRepository)
 {
     _tipoEventoRepository = tipoEventoRepository;
     _eventoRepository     = eventoRepository;
 }
Exemplo n.º 12
0
 public TiposEventosController()
 {
     TipoEventoReposity = new TipoEventoReposity();
 }
Exemplo n.º 13
0
 public TiposEventoController()
 {
     // Instancio meu repositório na minha variável
     _tipoEventoRepository = new TipoEventoRepository();
 }
 public TipoEventoController(ITipoEventoRepository tipoEventoRepository, IMapper mapper)
 {
     _tipoEventoRepository = tipoEventoRepository;
     _mapper = mapper;
 }