public async Task <bool> GetLockoutEnabledAsync(TUser user) { bool enabled = await Task.Run(() => UserStoreDataAccess <TUser, TRole, TKey, TUserRole> .GetLockoutEnabled(user)); return(enabled); }