public HttpResponseMessage GetAvailableloanprys(HttpRequestMessage request) { return(GetHttpResponse(request, () => { LoanPryData[] loanpry = _IFRSDataService.GetAllLoanPry().ToArray(); return request.CreateResponse <LoanPryData[]>(HttpStatusCode.OK, loanpry.ToArray()); })); }