public async Task <ApplicationUser> FindByIdAsync(int userId) { var user = _authDataProvider.GetUser(userId); return(await Task.FromResult(new ApplicationUser(user))); }
public User GetUser(int id) { return(_dataProvider.GetUser(id)); }