public List <PersonaVIEW> FiltrarPersona(string tipo, string valor) { try { if (tipo != "" & valor != "") { PersonaDAL personaDAL = new PersonaDAL(); return(personaDAL.FiltrarPersona(tipo, valor)); } else { return(new List <PersonaVIEW>()); } } catch (Exception ex) { throw ex; } }