예제 #1
0
 public ActionResult Edit(Users users, HttpPostedFileBase IMG)
 {
     if (ModelState.IsValid)
     {
         ImagesController images = new ImagesController();
         images.AddImages(IMG, "Users", Guid.NewGuid().ToString());
         usersDAO.Edit(users);
         return(RedirectToAction("Info"));
     }
     return(View(users));
 }