public IActionResult getSurplusORLossC(string fundtypecode)
        {
            var result = fundTypeService.GetFundTypeCodeByCode(fundtypecode);

            decimal te = 0;

            if (result != null)
            {
                var ledger = ledgerService.getLedgerInfoCSD(fundtypecode).ToList();
                te = Convert.ToDecimal(ledger.Sum(x => x.opbalance + x.adbbalance - x.crbalance) * -1);
            }


            return(Ok(new { responseCode = "200", responseDescription = "Successfull", data = te }));
        }