public ActionResult EditSaleGoodMap(SaleGoodMap v) { if (ModelService.EditSaleGoodMap(v)) { return(RedirectToAction("SaleGoodMapList")); } else { return(View(v)); } }
public ActionResult AddSaleGoodMap(SaleGoodMap saleGoodMap) { if (ModelService.AddSaleGoodMap(saleGoodMap)) { return(RedirectToAction("SaleGoodMapList")); } else { return(View()); } }
public ActionResult EditSaleGoodMap(int id) { SaleGoodMap v = ModelService.GetSaleGoodMapById(id); return(View(v)); }