コード例 #1
0
        //Get tax rate from tax
        public JsonResult GetTaxRate(string fields)
        {
            decimal        taxRate          = 0;
            Ctx            ctx              = Session["ctx"] as Ctx;
            MCashBookModel objCashBookModel = new MCashBookModel();

            taxRate = objCashBookModel.GetTaxRate(ctx, Util.GetValueOfInt(fields));
            return(Json(JsonConvert.SerializeObject(taxRate), JsonRequestBehavior.AllowGet));
        }