public static List <IdiomaDM> GetAllAdapted() { try { List <IdiomaDM> lista; IdiomaCollectionAdapter adapter = new IdiomaCollectionAdapter(IdiomaFacade.SelectAll()); List <IdiomaDM> collection = new List <IdiomaDM>(); adapter.Fill(collection); lista = collection; return(lista); } catch (ExceptionBLL bllex) { throw new ExceptionBLL(bllex, bllex.Message); } }