Exemple #1
0
        public IActionResult PreViewImage(List <IFormFile> formFiles)
        {
            var dbx = new DropboxWorker();

            dbx.Add(formFiles);
            var viewImages = dbx.GetPath(formFiles);

            return(PartialView(viewImages));
        }
Exemple #2
0
        public IActionResult PreViewAlbum(int id, List <IFormFile> formFiles)
        {
            var dbx = new DropboxWorker();

            dbx.Add(formFiles);
            var imageAlbum = dbx.GetPath(formFiles);

            imageService.UpdateList(imageAlbum, id);

            return(PartialView(imageAlbum));
        }