public async Task <IActionResult> GetClientById(int id) { var client = await _clientsService.GetClientById(id); return(Ok(client)); }