Ejemplo n.º 1
0
 public List<Fotos> buscarFotosPorAlbum(Album_fotos album)
 {
     try {
         return daoFotos.searchByAlbum(album.Id);
     } catch (Exception ex) {
         throw ex;
     }
 }
Ejemplo n.º 2
0
 public int nuevoAlbum(string mensaje, int usuario_origen)
 {
     Album_fotos album;
     try {
         album = new Album_fotos(mensaje, usuario_origen);
         return daoAlbum.add(album);
     } catch (Exception ex) {
         throw ex;
     }
 }
Ejemplo n.º 3
0
 private void btnGuardarAlbum_Click(object sender, EventArgs e)
 {
     try
     {
             Album_fotos nuevoAlbum = new Album_fotos(albumNameTXT.Text, Session.IdUsuarioLogueado);
     }
     catch (Exception ex)
     {
         MessageBox.Show("no se guardar el album" + ex.Message);
     }
 }
Ejemplo n.º 4
0
 public Fotos(string url, Album_fotos album)
 {
     this.url = url;
     this.AlbumId = album.Id;
 }