private void UpdateChargeCode(Context context, ref BaseActionResult bar) { ChargeCodeModel codeModel = context.Model as ChargeCodeModel; if (codeModel != null) { chargeCodeService.UpdateChargeCode(codeModel); } else { throw new Exception("chargeCode parameter is not provided!"); } bar.Result = true; }
/// <summary> /// Insert/Update charge codes /// </summary> /// <param name="item"></param> /// <returns></returns> public List <ChargeCodeModel> ChargeCodesInsertUpdate(ChargeCodeModel objData) { return(objDAL.ChargeCodesInsertUpdate(objData)); }
public void UpdateChargeCode(ChargeCodeModel model) { chargeCodeDao.UpdateChargeCode(model); }
public void AddChargeCode(ChargeCodeModel model) { chargeCodeDao.AddChargeCode(model); }