[HttpPost]
public async Task<IActionResult> SaveUser(User user)
{
await context.Users.AddAsync(user);
await context.SaveChangesAsync();
return Ok(user);
}
{
"idUser": 0,
"name": "Витя",
"surname": "string",
"email": "string",
"password": "string",
"tNumber": "string",
"biography": "string"
}