Ejemplo n.º 1
0
        // GET: Books/Download/5
        public async Task <ActionResult> Download(long?id)
        {
            if (id == null)
            {
                return(null);
            }
            try {
                _imageUploader.DownloadObject("book_hao", id.ToString(), "c:\\");
            }
            catch (Exception e)
            {
                return(null);
            }



            Movie movie = _store.Read((long)id);

            if (movie == null)
            {
                return(null);
            }
            else
            {
                return(RedirectToAction("Index", null));
            }
            //return ViewForm("Edit", "Edit", movie);
        }