protected void Page_Load(object sender, EventArgs e) { UserFacade userFacade = new UserFacade(); PostFacade postFacade = new PostFacade(); AlbumFacade albumFacade = new AlbumFacade(); CommentFacade commentFacade = new CommentFacade(); User user = userFacade.GetUsers(); Posts post = postFacade.GetPosts(); Albums album = albumFacade.GetAlbums(); Comment comment = commentFacade.GetComments(); lblUserName.Text = user.Name; lblTitlePost.Text = post.Title; lblBodyPost.Text = post.Body; lblTitleAlbum.Text = album.Title; lblNameComment.Text = comment.Name; lblEmailComment.Text = comment.Email; lblBodyComment.Text = comment.Body; }
public SlideForm(AlbumFacade i_AlbumFacade) { InitializeComponent(); m_Album = i_AlbumFacade; init(); }