public async Task<IActionResult> Register([FromBody] UserRegistrationModel userRegistrationModel)
{
var user = _mapper.Map<UserDto>(userRegistrationModel);
var newUser = await _authService.Register(user , userRegistrationModel.Password);
//return CreatedAtAction(nameof(Login), user );
return CreatedAtAction(nameof(Login), new { id = newUser .Id }, userRegistrationModel);
}