Exemplo n.º 1
0
        public IActionResult CreateLoanRequest([FromBody] LoanRequest loanRequest)
        {
            var loanMgr = new LoanManager(_context, _configuration);

            return(Ok(new { refNo = loanMgr.CreateLoanRequest(loanRequest) }));
        }