public ActionResult Edit(int id)
 {
     HomepicClient hc = new HomepicClient();
     HomepicViewModel hvm = new HomepicViewModel();
     hvm.pic = hc.find(id);
     return View("Edit",hvm);
 }
 public ActionResult Edit(HomepicViewModel hvm)
 {
     HomepicClient hc = new HomepicClient();
     hc.Edit(hvm.pic);
     return RedirectToAction("Index");
 }