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)); }