public ActionResult GuardarArchivo(DateTime?fechaRecepcion, String observaciones)
        {
            try
            {
                Verif_DataModelo    verifDataModelo   = new Verif_DataModelo();
                Verif_Datos_Maestra VerifDatosMaestra = new Verif_Datos_Maestra();

                VerifDatosMaestra.VDM_FechaProceso  = fechaRecepcion ?? DateTime.Now;
                VerifDatosMaestra.VDM_Observaciones = observaciones;
                VerifDatosMaestra.VDM_IdUsuario     = ((Usuarios)Session["USUARIO_LOGUEADO"]).IdUsuario;

                var idVDM = verifDataModelo.AddVerif_Datos_Maestra(VerifDatosMaestra);

                var cantidadRegistros = LeerArchivo((int)idVDM, verifDataModelo);

                verifDataModelo.UpdateVerif_Datos_Maestra(idVDM, cantidadRegistros);

                verifDataModelo.CruceDeIdentidad();
            }
            catch (Exception exception)
            {
                LogRepository.registro("Error en CruceIdentidadController metodo GuardarArchivo" + exception.Message + " stack " + exception.StackTrace);
                throw;
            }


            return(View());
        }
        /// <summary>
        /// Almacena los datos del archivo que se carga para verificar los
        /// datos que nos envia el porveedor.
        /// </summary>
        /// <param name="nuevo">Datos</param>
        /// <returns></returns>
        public long AddVerif_Datos_Maestra(Verif_Datos_Maestra nuevo)
        {
            basdat.AddToVerif_Datos_Maestra(nuevo);
            basdat.SaveChanges();
            int id = basdat.Verif_Datos_Maestra.Max(x => x.VDM_ID);

            return(id);
        }