public ActionResult Edit(string id)
 {
     GoodServiceClient gsc = new GoodServiceClient();
     GoodViewModel gvm = new GoodViewModel();
     gvm.Good = gsc.find(id);
     return View("Edit", gvm);
 }
 //
 // GET: /Good/
 public ActionResult Index()
 {
     GoodServiceClient gsc = new GoodServiceClient();
     ViewBag.listOfGoods = gsc.findAll();
     return View();
 }
 public ActionResult Edit(GoodViewModel gvm)
 {
     GoodServiceClient gsc = new GoodServiceClient();
     gsc.edit(gvm.Good);
     return RedirectToAction("Index");
 }
 public ActionResult Delete(string id)
 {
     GoodServiceClient gsc = new GoodServiceClient();
     gsc.delete(gsc.find(id));
     return RedirectToAction("Index");
 }