Пример #1
0
 public bool Existe(Interprete interprete)
 {
     try
     {
         cn          = new ConexionBd();
         repositorio = new RepositorioInterpretes(cn.AbrirConexion());
         var existe = repositorio.Existe(interprete);
         cn.CerrarConexion();
         return(existe);
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }