Exemple #1
0
        public IActionResult GetLatestLoanRefNo(int userId)
        {
            var loanMgr = new LoanManager(_context, _configuration);

            return(Ok(new { refNo = loanMgr.GetLatestLoanId(userId) }));
        }