public async Task <ActionResult <dynamic> > Register([FromBody] User user)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }
            var result = await idManager.AddUserAsyn(user);

            return(Created("", result));
        }