public HttpResponseMessage GetAvailableifrsbonds(HttpRequestMessage request) { return(GetHttpResponse(request, () => { IFRSBonds[] ifrsbond = _IFRSDataService.GetAllIFRSBonds().ToArray(); return request.CreateResponse <IFRSBonds[]>(HttpStatusCode.OK, ifrsbond.ToArray()); })); }