Exemplo n.º 1
0
 private string GoToAlbum(string pin)
 {
     Album album = new Album();
     if (album.AlbumExists(pin))
     {
         Response.Redirect("Album2.aspx?pin=" + TextBoxPin.Text);
     }
     return "Album not found";
 }
Exemplo n.º 2
0
        private string GoToAlbum(string pin)
        {
            Album album = new Album();

            if (album.AlbumExists(pin))
            {
                Response.Redirect("Album2.aspx?pin=" + TextBoxPin.Text);
            }
            return("Album not found");
        }
Exemplo n.º 3
0
 public bool AlbumExists(string pin)
 {
     Album album = new Album();
     return album.AlbumExists(pin);
 }
Exemplo n.º 4
0
        public bool AlbumExists(string pin)
        {
            Album album = new Album();

            return(album.AlbumExists(pin));
        }