private Boolean GuardarImpuestos(List<clsImpuestoCuenta> a)
        {
            try
            {
                using (CuentasPorPagarEntities ent = new CuentasPorPagarEntities())
                {
                    int aux = a.Count;
                    List<clsImpuestoCuenta> Impuestito = a;
                    for (int i = 0; i < aux; i++)
                    {
                        ImpCta = new ImpuestoCuenta()
                        {
                            IdEmpresa = Impuestito[i]._IdEmpresa,
                            NumCuentaPorPagar = Impuestito[i]._NumCuentaPorPagar,
                            Valor = Impuestito[i]._Valor,
                            IdImpuesto = Impuestito[i]._IdImpuesto,
                        };
                        ent.AddToImpuestoCuenta(ImpCta);
                        ent.SaveChanges();
                    }
                    //ent.SaveChanges();
                }

                return true;

            }
            catch (Exception)
            {
                return false;
            }
        }