public JsonResult CalculateBookingFee([FromQuery] string CIFNo, [FromQuery] decimal Amount, [FromQuery] string ProductCode, [FromQuery] bool IsByPercent, [FromQuery] bool IsFeeEdit, [FromQuery] decimal PercentageFeeInput) { bool blnResult = false; string ErrMsg = ""; blnResult = cls.ReksaCalcBookingFee(CIFNo, Amount, ProductCode, IsByPercent, IsFeeEdit, PercentageFeeInput , out decimal PercentageFeeOutput, out string FeeCCY, out decimal Fee, out ErrMsg); ErrMsg = ErrMsg.Replace("ReksaCalcBookingFee - Core .Net SqlClient Data Provider\n", ""); return(Json(new { blnResult, ErrMsg, PercentageFeeOutput, FeeCCY, Fee })); }