Exemple #1
0
 public OperadorController(IUser user,
                           IMapper mapper,
                           IOperadorApplication operadorApplication,
                           IOperadorReadOnlyRepository operadorReadOnlyRepository)
 {
     _user   = user;
     _mapper = mapper;
     _operadorApplication        = operadorApplication;
     _operadorReadOnlyRepository = operadorReadOnlyRepository;
 }
Exemple #2
0
        public UsuarioApplication(IMapper mapper,
                                  IUsuarioWriteOnlyRepository usuarioWriteOnlyRepository,
                                  IClienteReadOnlyRepository clienteReadOnlyRepository,
                                  IClienteWriteOnlyRepository clienteWriteOnlyRepository,
                                  IOperadorReadOnlyRepository operadorReadOnlyRepository,
                                  IOperadorWriteOnlyRepository operadorWriteOnlyRepository

                                  )
        {
            _mapper = mapper;
            _usuarioWriteOnlyRepository  = usuarioWriteOnlyRepository;
            _clienteReadOnlyRepository   = clienteReadOnlyRepository;
            _clienteWriteOnlyRepository  = clienteWriteOnlyRepository;
            _operadorReadOnlyRepository  = operadorReadOnlyRepository;
            _operadorWriteOnlyRepository = operadorWriteOnlyRepository;
        }