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