public async Task <IActionResult> enquiry([FromBody] CustomerEnquiryRequest request)
        {
            List <Models.Response> b = new List <Models.Response>();

            try
            {
                if (!ModelState.IsValid)
                {
                    return(BadRequest(AgencyBanking.Helpers.Utility.GetResponse(ModelState)));
                }


                var tuple = await _orclRepo.GetCustomerEnquiryByAccountNumber(request);

                if (!tuple.Item2.status)
                {
                    return(StatusCode((int)HttpStatusCode.InternalServerError, tuple.Item2));
                }

                b = tuple.Item1;
            }
            catch (Exception ex)
            {
                _logger.LogError($"{request.customerNumber}:- {Environment.NewLine} {ex.ToString()}");
                return(StatusCode((int)HttpStatusCode.InternalServerError, AgencyBanking.Helpers.Utility.GetResponse(ex)));
            }

            return(CreatedAtAction("enquiry", b));
        }
        public async Task <IActionResult> enquirybycustomerno([FromBody] CustomerEnquiryRequest request)
        {
            List <AccountEnquiryResponse> b = new List <AccountEnquiryResponse>();

            try
            {
                if (!ModelState.IsValid)
                {
                    return(BadRequest(Commons.Helpers.Utility.GetResponse(ModelState)));
                }


                b = await _orclRepo.GetAccountEnquiryByCustomerNumber(request);
            }
            catch (Exception ex)
            {
                _logger.LogError($"{request.customerNumber}:- {Environment.NewLine} {ex.ToString()}");
                return(StatusCode((int)HttpStatusCode.InternalServerError, Commons.Helpers.Utility.GetResponse(ex)));
            }

            return(CreatedAtAction("enquirybycustomerno", b));
        }