public async Task <string> SignInPasswordAsync(IdentityUser model, string password) { var jwtUser = _mapper.Map <JwtDto>(model); var token = await Task.Run(() => _generalService.BuildToken(jwtUser)); return(token); }
public async Task <string> SignInPasswordAsync(IdentityUser model, string password) { var jwtUser = _mapper.Map <JwtDto>(model); var token = await Task.Run(() => _generalService.BuildToken(jwtUser)); return(token); }