コード例 #1
0
ファイル: FotoController.cs プロジェクト: GasparMDQ/ApSocial
 public List<Fotos> buscarFotosPorAlbum(Album_fotos album)
 {
     try {
         return daoFotos.searchByAlbum(album.Id);
     } catch (Exception ex) {
         throw ex;
     }
 }
コード例 #2
0
ファイル: AlbumController.cs プロジェクト: GasparMDQ/ApSocial
 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;
     }
 }
コード例 #3
0
ファイル: abAlbum.cs プロジェクト: GasparMDQ/ApSocial
 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);
     }
 }
コード例 #4
0
ファイル: Fotos.cs プロジェクト: GasparMDQ/ApSocial
 public Fotos(string url, Album_fotos album)
 {
     this.url = url;
     this.AlbumId = album.Id;
 }