public IActionResult GetAgentById([FromRoute] int agentId) { var agent = _repository.GetAgentById(agentId); return(Ok(agent)); }
public IActionResult GetAgentById([FromRoute] int agentId) { var agent = _repository.GetAgentById(agentId); return(Ok(agent)); }