public async Task <ActionResult <CreateMortgageDto> > PostApplicant(CreateMortgageDto createMortgageDto) { var mortgageId = await _service.CreateMortgage(createMortgageDto); return(CreatedAtAction( nameof(GetMortgage), new { id = mortgageId }, new { id = mortgageId })); }