public IActionResult sumofbank(string acctcode) { decimal sumbank = 0; sumbank = ledgerService.getsumbybank(acctcode); return(Ok(new { responseCode = "200", responseDescription = "Successfull", data = sumbank })); }