Exemplo n.º 1
0
        public HttpResponseMessage UpdateLoanClassNotch(HttpRequestMessage request, [FromBody] MaturityParam param)
        {
            return(GetHttpResponse(request, () =>
            {
                HttpResponseMessage response = null;

                _IFRSDataService.UpdateLoanClassNotch(param.RefNo, param.Rating, param.Stage);

                response = request.CreateResponse(HttpStatusCode.OK);

                return response;
            }));
        }
        public HttpResponseMessage YieldUpdate(HttpRequestMessage request, [FromBody] MaturityParam param)
        {
            return(GetHttpResponse(request, () =>
            {
                HttpResponseMessage response = null;

                _IFRSDataService.UpdateTbillsByMaturityDate(param.Date, param.Amount);

                response = request.CreateResponse(HttpStatusCode.OK);

                return response;
            }));
        }