예제 #1
0
        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;
        }
예제 #2
0
 /// <summary>
 /// Insert/Update charge codes
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public List <ChargeCodeModel> ChargeCodesInsertUpdate(ChargeCodeModel objData)
 {
     return(objDAL.ChargeCodesInsertUpdate(objData));
 }
예제 #3
0
 public void UpdateChargeCode(ChargeCodeModel model)
 {
     chargeCodeDao.UpdateChargeCode(model);
 }
예제 #4
0
 public void AddChargeCode(ChargeCodeModel model)
 {
     chargeCodeDao.AddChargeCode(model);
 }