// GET: api/Pais/5 public Pais Get(int id) { List <Pais> countryList = new Pais().getAllCountries(ref mensaje_error, ref numero_error); crypting c = new crypting(); Pais x = countryList.ElementAt(id); Pais spes = new Pais(); spes.Cod_Pais = x.Cod_Pais; spes.Nombre_Pais = c.decrypt(x.Nombre_Pais); spes.Imagen = c.decrypt(x.Imagen); return(spes); }