Пример #1
0
        public HttpResponseMessage GetAvailableCollateralTypes(HttpRequestMessage request)
        {
            return(GetHttpResponse(request, () =>
            {
                CollateralTypeData[] collateralTypes = _LoanService.GetAllCollateralTypes();

                return request.CreateResponse <CollateralTypeData[]>(HttpStatusCode.OK, collateralTypes);
            }));
        }