public ActionResult EditImage(EditImageViewModel edited)
        {
            Image img = ImagesContext.Images.Where(i => i.ImageID == edited.ImageId).FirstOrDefault();

            if(TryUpdateModel(img))
            {
                img.Title = edited.Title;
                ImagesContext.SaveChanges();
            }

            return RedirectToAction("Index");
        }
        public ActionResult EditImage(string imgUrl, string title)
        {
            Image img = ImagesContext.Images.Where(i => i.ImageUrl == imgUrl).FirstOrDefault();

            EditImageViewModel edit = new EditImageViewModel();
            edit.Title = img.Title;
            edit.ImageId = img.ImageID;

            ViewBag.ImageUrl = imgUrl;
            ViewBag.Title = title;
            return PartialView(edit);
        }