Пример #1
0
        public HttpResponseMessage GetAvailableLoanInterestRates(HttpRequestMessage request)
        {
            return(GetHttpResponse(request, () =>
            {
                LoanInterestRate[] loanInterestRates = _IFRSDataService.GetAllLoanInterestRates();

                return request.CreateResponse <LoanInterestRate[]>(HttpStatusCode.OK, loanInterestRates);
            }));
        }