Skip to content
Snippets Groups Projects
Commit 0ed2fd47 authored by Lucca Santangelo's avatar Lucca Santangelo
Browse files

fix error message

parent 1a01d0dd
No related branches found
No related tags found
1 merge request!34bedelia
......@@ -27,7 +27,7 @@ namespace Bedelia.Controllers
return Ok(users);
}
[HttpGet("{id}")]
[HttpGet("{identityCard}")]
public async Task<IActionResult> Get(string identityCard)
{
var user = await _context.Users.FirstOrDefaultAsync(x => x.IdentityCard == identityCard);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment