in src/Relecloud.Web.CallCenter.Api/Controllers/UserController.cs [26:44]
public async Task<IActionResult> GetAsync(string id)
{
try
{
var user = await this.concertRepository.GetUserByIdAsync(id);
if (user == null)
{
return NotFound();
}
return Ok(user);
}
catch (Exception ex)
{
logger.LogError(ex, "Unhandled exception from UserController.GetAsync");
return Problem("Unable to GetAsync this user");
}
}