Example #1
0
 public static Persona Persona_Guardar(Persona _unaPersona)
 {
     try
     {
         return(PersonaDato.Persona_Guardar(_unaPersona));
     }
     catch (Exception err)
     {
         throw err;
     }
 }
Example #2
0
 public static bool TieneCodPostalValidoEnPim(int codPostal)
 {
     try
     {
         return(PersonaDato.TieneCodPostalValidoEnPim(codPostal));
     }
     catch (Exception err)
     {
         throw err;
     }
 }
Example #3
0
 public static bool TieneDeudaEnArgentaC(long cuil)
 {
     try
     {
         return(PersonaDato.TieneDeudaEnArgentaC(cuil));
     }
     catch (Exception err)
     {
         throw err;
     }
 }
 public List <Persona> GetPersona()
 {
     try
     {
         var result = PersonaDato.GetPersonas();
         return(result);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public int ActualizarPersona(string accion, Persona nuevaPersona)
        {
            try
            {
                var result = new PersonaDato().ActualizarPersona(accion, nuevaPersona);
                //return new PersonaDato().ActualizaPersona(accion, Persona);

                return(result);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }