Exemplo n.º 1
0
        public ActionResult IncarcaPoza(HttpPostedFileBase file)
        {
            var service = new AlbumFotoService();

            if (file != null && file.ContentLength > 0)
            {
                service.Load_Picture("guest", file.FileName, file.InputStream);
            }

            return(View("Index", service.Get_Picture()));
        }