Пример #1
0
 public void Agregar(Interprete interprete)
 {
     try
     {
         cn          = new ConexionBd();
         repositorio = new RepositorioInterpretes(cn.AbrirConexion());
         repositorio.Agregar(interprete);
         cn.CerrarConexion();
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }