protected void Page_Load(object sender, EventArgs e)
        {
            utility = new Utility();
            utility.loadClient();

            //call the web service to retrieve media data
            media = utility.getMedia(itemID);
            media_url = utility.getMediaUrl(media.MediaId);

            music_category_list = utility.getMusicCategories();
            movie_category_list = utility.getMovieCategories();
        }
Ejemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            //load webservice client
            utility = new Utility();
            utility.loadClient();

            //call the web service to load data
            country_list = utility.getCountries();
            music_category_list = utility.getMusicCategories();
            movie_category_list = utility.getMovieCategories();

            currentUser = getUser();
            if (currentUser != null)
            {
                //if user is not null, load his history
                bookmark_list = utility.getUserBookmarks(currentUser);
                rental_list = utility.getRentalHistory(currentUser);
            }
        }
Ejemplo n.º 3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            //load webservice client
            utility = new Utility();
            utility.loadClient();

            currentUser = getUser();

            media_list = utility.getAllMedia();
            music_category_list = utility.getMusicCategories();
            movie_category_list = utility.getMovieCategories();
        }