Пример #1
0
        public async Task <IStatusCodeActionResult> DebtorEligibilityReviewTask([FromRoute] Guid id, [FromBody] MaDebtorEligibilityReviewRequest model)
        {
            model.MoratoriumId = id;
            await _dynamicsGateway.CreateDebtorEligibilityReviewRequest(model);

            return(Ok());
        }
        public async Task <IStatusCodeActionResult> ClientEligibilityReviews([FromRoute] Guid id, [FromBody] CrDebtorEligibilityReviewRequest model)
        {
            model.MoratoriumId = id;
            model.CreditorId   = GetOrganisationId();

            await _dynamicsGateway.CreateDebtorEligibilityReviewRequest(model);

            return(Ok());
        }