Esempio n. 1
0
        public HttpResponseMessage GetAvailableborrowings(HttpRequestMessage request)
        {
            return(GetHttpResponse(request, () =>
            {
                Borrowings[] borrowing = _IFRSDataService.GetAllBorrowings().ToArray();

                return request.CreateResponse <Borrowings[]>(HttpStatusCode.OK, borrowing.ToArray());
            }));
        }