public HttpResponseMessage GetAvailableWatchListedLoans(HttpRequestMessage request) { return(GetHttpResponse(request, () => { WatchListedLoan[] watchListedLoans = _LoanService.GetAllWatchListedLoans(); return request.CreateResponse <WatchListedLoan[]>(HttpStatusCode.OK, watchListedLoans); })); }