// ***************************** ***************************** *****************************
        // CONSTRUCTOR.
        public ResultadoBusquedaAsuntoTurnoViewModel(BusquedaAsuntoTurnoViewModel busqueda)
        {
            this._Busqueda = busqueda;
            this._ResultadoBusqueda = new ObservableCollection<AsuntoModel>();

            busqueda.ResultadoBusqueda.OrderByDescending(f=> f.FechaCreacion).ToList().ForEach(p =>this.ResultadoBusqueda.Add(p));

            this._DestinatarioRepository = new GestorDocument.DAL.Repository.DestinatarioRepository();
            this._AsuntoRepository = new GestorDocument.DAL.Repository.AsuntoRepository();
            this._TurnoRepository = new GestorDocument.DAL.Repository.TurnoRepository();
            this._SignatarioExternoRepository = new GestorDocument.DAL.Repository.SignatarioExternoRepository();
            this.SignatarioExterno = new ObservableCollection<SignatarioExternoModel>();

            this.LoadInfoGrid();
        }
        // ***************************** ***************************** *****************************
        // constructor
        public AsuntoModViewModel(AsuntoModel p, AsuntoViewModel AsuntoViewModel, IConfirmation confirmation)
        {
            this._ParentAsunto = AsuntoViewModel;
            this._P = p;
            this._Confirmation = confirmation;
            this._AsuntoRepository = new GestorDocument.DAL.Repository.AsuntoRepository();
            this._UbicacionRepository = new GestorDocument.DAL.Repository.UbicacionRepository();
            this._InstruccionRepository = new GestorDocument.DAL.Repository.InstruccionRepository();
            this._PrioridadRepository = new GestorDocument.DAL.Repository.PrioridadRepository();
            this._StatusAsuntoRepository = new GestorDocument.DAL.Repository.StatusAsuntoRepository();
            this._SignatarioRepository = new GestorDocument.DAL.Repository.SignatarioRepository();
            this._SignatarioExternoRepository = new GestorDocument.DAL.Repository.SignatarioExternoRepository();
            this._DestinatarioRepository = new GestorDocument.DAL.Repository.DestinatarioRepository();
            this._DestinatarioCcpRepository = new GestorDocument.DAL.Repository.DestinatarioCcpRepository();
            this._DocumentosRepository = new GestorDocument.DAL.Repository.DocumentosRepository();
            this._ExpedienteRepository = new GestorDocument.DAL.Repository.ExpedienteRepository();
            this._TurnoRepository = new GestorDocument.DAL.Repository.TurnoRepository();
            this._SyncDocsRepository = new GestorDocument.DAL.Repository.SyncDocsRepository();

            this.LoadInfo();

            this.GetAsunto();

            this.GetRol();

            this.GetUsuario();

            this.GetTurno();

            this.GetExpediente();

            //BUSQUEDA DE ASUNTOS
            this.Busqueda = new BusquedaAsuntoTurnoViewModel(this._Rol);

            this.GetVisible();
        }
        public TrancingAsuntoTurnoViewModel(AsuntoNotificacionesViewModel asuntoNotificacionesViewModel, AsuntoModel selectedAsuntoTurno, IConfirmation confirmation, IDownloadFile download)
        {
            this._ParentAsunto = asuntoNotificacionesViewModel;
            this._SelectedAsuntoTurno = selectedAsuntoTurno;
            this._Confirmation = confirmation;
            this._Download = download;
            this.TipoUnidadNormativa = this._ParentAsunto._PantallaInicioViewModel._MainWindowViewModel.Usuario.Rol.Organigrama.TipoUnidadNormativa;
            this._TurnoRepository = new GestorDocument.DAL.Repository.TurnoRepository();
            this._ExpedienteRepository = new GestorDocument.DAL.Repository.ExpedienteRepository();
            this._DestinatarioRepository = new GestorDocument.DAL.Repository.DestinatarioRepository();
            this._DocumentosRepository = new GestorDocument.DAL.Repository.DocumentosRepository();
            this._Turnos = new ObservableCollection<TurnoModel>();
            this._SeguimientoTurnos = new ObservableCollection<TurnoModel>();
            this._SyncDocsRepository = new GestorDocument.DAL.Repository.SyncDocsRepository();
            this._SeguimientoTurnos = new ObservableCollection<TurnoModel>();
            this._SignatarioExternoRepository = new GestorDocument.DAL.Repository.SignatarioExternoRepository();
            this.SignatarioExterno = new ObservableCollection<SignatarioExternoModel>();
            this._SuccessPathServer = ConfigurationManager.AppSettings["ServerDocsFolder"].ToString();

            this.GetRol();

            this.GetUsuario();

            this.LoadInfoGrid();

            this.GetAsunto();

            this.GetTurno();

            this.GetExpediente();
        }