Exemplo n.º 1
0
        public ActionResult AddLogoPhoto(string id)
        {
            Model.UserAdmin    UserAdmin = new Model.UserAdmin();
            HttpPostedFileBase file      = Request.Files["attach_path"];

            UserAdmin.LogoPhoto = Utility.ChangeText.SaveUploadPicture(file, "LogoPhoto");
            Business.Sys_UserAdmin Sys_UserAdmin = new Business.Sys_UserAdmin();
            if (Sys_UserAdmin.AddLogoPhoto(id, UserAdmin.LogoPhoto))
            {
            }
            Response.Write("<script>parent.layer.closeAll();</script>");
            return(View());
        }