Beispiel #1
0
        public async Task <ActionResult <CreateMortgageDto> > PostApplicant(CreateMortgageDto createMortgageDto)
        {
            var mortgageId = await _service.CreateMortgage(createMortgageDto);

            return(CreatedAtAction(
                       nameof(GetMortgage),
                       new { id = mortgageId },
                       new { id = mortgageId }));
        }