//SHOW ITEM
        public ActionResult ShowItem(int CollectionId)
        {
            MediaCollection MediaCollection = new MediaCollection();

            MediaCollection         = repository.GetMediaCollectionDescription(CollectionId);
            ViewBag.collectionTitle = MediaCollection.ShortTitle.ToString();

            return(View(repository.TransformToVideoMediaCollection(CollectionId)));
        }
Exemple #2
0
        //SHOW ITEM
        public ActionResult ShowItem(int CollectionId)
        {
            MediaCollection MediaCollection = new MediaCollection();

            MediaCollection          = repository.GetMediaCollectionDescription(CollectionId);
            ViewBag.collectionTitle  = MediaCollection.ShortTitle.ToString();
            ViewBag.collectionFolder = MediaCollection.Location.ToString();

            return(View(MediaCollection.MediaElements.ToList()));
        }
Exemple #3
0
        public ActionResult ShowCollection(int CollectionId)
        {
            MediaCollection MediaCollection = new MediaCollection();

            MediaCollection          = repository.GetMediaCollectionDescription(CollectionId);
            ViewBag.User             = this.User.Identity.Name.ToString();
            ViewBag.CollectionTitle  = MediaCollection.Title.ToString();
            ViewBag.Description      = MediaCollection.Description.ToString();
            ViewBag.CollectionFolder = MediaCollection.Location.ToString();
            return(View(MediaCollection));
        }