public IActionResult Post([FromBody] NewCustomerDto newCustomerDto) { newCustomerDto.CustomerId = Guid.NewGuid().ToString(); ResponseDto response = _customerApplicationService.Register(newCustomerDto); return(StatusCode(response.HttpStatusCode, response.Response)); }