public async Task <IActionResult> Confirm([FromBody] CustomerConfirmDTO dto) { if (!ModelState.IsValid) { return(BadRequest()); } try { await _service.Confirm(dto); return(Ok()); } catch (BussinessException ex) { _logger.LogDebug(ex.Message); return(BadRequest(ex.Message)); } }