public async Task <IActionResult> GetFdLoanFacilityDetails(string FDName, string FdNameCode)
        {
            FDloanfacilityDetailsDTO FDloanfacilityDetailsDTO = new FDloanfacilityDetailsDTO();

            try
            {
                FDloanfacilityDetailsDTO = await objFDconfig.GetLoanFacilityDetails(FDName, FdNameCode, Con);

                return(FDloanfacilityDetailsDTO != null?Ok(FDloanfacilityDetailsDTO) : (IActionResult)StatusCode(StatusCodes.Status204NoContent));
            }
            catch (Exception)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError));

                throw;
            }
        }
        public IActionResult SaveFDLoanFacilityDetails([FromBody]  FDloanfacilityDetailsDTO FDloanfacilityDetailsDTO)
        {
            try
            {
                if (objFDconfig.SaveLoanFacility(FDloanfacilityDetailsDTO, Con))
                {
                    return(Ok(true));
                }
                else
                {
                    return(StatusCode(StatusCodes.Status304NotModified));
                }
            }
            catch (Exception)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError));

                throw;
            }
        }