public async Task <IActionResult> ObterClientePorId(Guid id) { var cliente = await _clienteService.ObterCliente(id); if (cliente is null) { return(NotFound()); } return(CustomResponse(ClienteMapper.ClienteParaClienteRegistradoDto(cliente))); }
public async Task <IActionResult> ObterClientePorId(Guid id) { var cliente = await _clienteService.ObterCliente(id); if (cliente is null) { return(NotFound()); } return(CustomResponse(ClienteMapper.ClienteParaClienteRegistradoDto(cliente))); }