public ActionResult Update(Phone phone)
        {
            PhoneDAO      dao      = new PhoneDAO();
            PhotoPhoneDAO daoPhoto = new PhotoPhoneDAO();

            dao.Update(phone);
            if (Request.Files[0].ContentLength > 0)
            {
                daoPhoto.DeletePhotoOfPhone(phone.phoneID);
                for (int i = 0; i < Request.Files.Count; i++)
                {
                    HttpPostedFileBase f = Request.Files[i];
                    if (f.ContentLength > 0)
                    {
                        daoPhoto.Insert(new PhotoPhone()
                        {
                            urlPhoto = "/Image/" + f.FileName,
                            phoneID  = phone.phoneID
                        });
                        f.SaveAs(Server.MapPath("~/Image/") + f.FileName);
                    }
                }
            }
            return(RedirectToAction("Index", "ManageMobile"));
        }