Beispiel #1
0
        public HttpResponseMessage UpdateWatchListedLoan(HttpRequestMessage request, [FromBody] WatchListedLoan watchListedLoanModel)
        {
            return(GetHttpResponse(request, () =>
            {
                var watchListedLoan = _LoanService.UpdateWatchListedLoan(watchListedLoanModel);

                return request.CreateResponse <WatchListedLoan>(HttpStatusCode.OK, watchListedLoan);
            }));
        }