public async Task <TokenDto> Login(LoginDto userDto) { await _accountService.LoginAsync(userDto); return(new TokenDto() { Token = await _jwtHelper.GenerateJsonWebToken(userDto) }); }