public ActionResult Edit(long id = 0) { var item = _chargeSrv.GetById(id); if (item.ID == 0) { item.CardNO = _chargeSrv.GetCardNo(); } return(View(item)); }
public ActionResult Edit(long id = 0) { var item = _chargeSrv.GetById(id); if (item.ID == 0) { item.CardNO = _chargeSrv.GetCardNo(); } return(View(item)); }