Example #1
0
        public ActionResult SortFiles(MediaCategory parent)
        {
            ViewData["categoryId"] = parent.Id;
            List <ImageSortItem> sortItems = _fileAdminService.GetFilesToSort(parent);

            return(View(sortItems));
        }
        public ActionResult SortImages(Product product)
        {
            ViewBag.Product = product;
            List <ImageSortItem> sortItems =
                _fileAdminService.GetFilesToSort(product.Gallery);

            return(View(sortItems));
        }