Пример #1
0
        public HttpResponseMessage UpdateCollateralType(HttpRequestMessage request, [FromBody] CollateralType collateralTypeModel)
        {
            return(GetHttpResponse(request, () =>
            {
                var collateralType = _LoanService.UpdateCollateralType(collateralTypeModel);

                return request.CreateResponse <CollateralType>(HttpStatusCode.OK, collateralType);
            }));
        }