Exemple #1
0
 public PartnersController()
 {
     _partnerRepository           = new PartnerRepository();
     _direccionRepository         = new DireccionRepository();
     _personaDeContactoRepository = new PersonaDeContactoRepository();
     _tiposRepository             = new TiposRepository();
 }
Exemple #2
0
 public DocumentoRepository(IContpaqiSdk sdk)
 {
     _sdk = sdk;
     _conceptoDeDocumentoRepository = new ConceptoDocumentoRepository(sdk);
     _clienteProveedorRepository    = new ClienteProveedorRepository(sdk);
     _movimientoRepository          = new MovimientoRepository(sdk);
     _agenteRepository    = new AgenteRepository(sdk);
     _direccionRepository = new DireccionRepository(_sdk);
 }
Exemple #3
0
        public EditarDireccionViewModel(IDireccionService direccionService, IDialogCoordinator dialogCoordinator, IDireccionRepository <Direccion> direccionRepository)
        {
            _direccionService    = direccionService;
            _dialogCoordinator   = dialogCoordinator;
            _direccionRepository = direccionRepository;

            GuardarUsandoFuncionesAltoNivelCommand = new AsyncRelayCommand(GuardarUsandoFuncionesAltoNivelAsync);
            GuardarUsandoFuncionesBajoNivelCommand = new AsyncRelayCommand(GuardarUsandoFuncionesBajoNivelAsync);
            CancelarCommand = new RelayCommand(CerrarVista);
        }
Exemple #4
0
        public EditarClienteProveedorViewModel(IDialogCoordinator dialogCoordinator, IClienteProveedorService clienteProveedorService, IClasificacionRepository <Clasificacion> clasificacionRepository, IClienteProveedorRepository <ClienteProveedor> clienteProveedorRepository, IDireccionRepository <Direccion> direccionRepository)
        {
            _dialogCoordinator          = dialogCoordinator;
            _clienteProveedorService    = clienteProveedorService;
            _clasificacionRepository    = clasificacionRepository;
            _clienteProveedorRepository = clienteProveedorRepository;
            _direccionRepository        = direccionRepository;

            GuardarCommand  = new AsyncRelayCommand(Guardar);
            CancelarCommand = new RelayCommand(CerrarVista);
            BuscarValorClasificacionCommand = new AsyncRelayCommand <string>(BuscarValorClasificacionAsync);
            CrearDireccionCommand           = new AsyncRelayCommand(CrearDireccionAsync);
            EditarDireccionCommand          = new AsyncRelayCommand(EditarDireccionAsync, CanEditarDireccionAsync);

            BuscarAlmacenCommand     = new AsyncRelayCommand(BuscarAlmacenAsync);
            BuscarAgenteVentaCommand = new AsyncRelayCommand(BuscarAgenteVentaAsync);
            BuscarAgenteCobroCommand = new AsyncRelayCommand(BuscarAgenteCobroAsync);
        }
 public DireccionesController()
 {
     _direccionRepository = new DireccionRepository();
 }
 public DireccionService(IDireccionRepository direccionrepository)
 {
     this.direccionrepository = direccionrepository;
 }
 public DireccionService(IDireccionRepository direccionRepository, ISedeRepository sedeRepository)
 {
     this.direccionRepository = direccionRepository;
     this.sedeRepository      = sedeRepository;
 }
 public DireccionService(IDireccionRepository repository, IDireccionQuery query) : base(repository)
 {
     _query = query;
 }
 public DireccionServices(IDireccionRepository IDireccionRepository)
 {
     _IDireccionRepository = IDireccionRepository;
 }
 public DireccionesController()
 {
     this._direccionRepository = new DireccionRepository(new MedEvolutionDbContext());
 }
 public DireccionesController(IDireccionRepository repository)
 {
     _repository = repository;
 }