public HttpResponseMessage GetAvailableLoansImpairmentResults(HttpRequestMessage request) { return(GetHttpResponse(request, () => { LoansImpairmentResult[] loansimpairmentresult = _IFRSDataService.GetAllLoansImpairmentResults(); return request.CreateResponse <LoansImpairmentResult[]>(HttpStatusCode.OK, loansimpairmentresult); })); }