public async Task <ApplicationUser> FindByIdAsync(int userId)
        {
            var user = _authDataProvider.GetUser(userId);

            return(await Task.FromResult(new ApplicationUser(user)));
        }
Exemple #2
0
 public User GetUser(int id)
 {
     return(_dataProvider.GetUser(id));
 }