public JsonResult CalculateFee([FromBody] CalculateFeeModel.CalculateFeeRequest model) { bool blnResult; string ErrMsg; CalculateFeeModel.CalculateFeeResponse resultFee = new CalculateFeeModel.CalculateFeeResponse(); blnResult = cls.ReksaCalcFee(model, out resultFee, out ErrMsg); ErrMsg = ErrMsg.Replace("ReksaCalcFee - Core .Net SqlClient Data Provider\n", ""); return(Json(new { blnResult, ErrMsg, resultFee })); }