public async Task Refresh() { await _objectContext.RefreshAsync(RefreshMode.StoreWins, _objectContext.Users); await _objectContext.RefreshAsync(RefreshMode.StoreWins, _objectContext.UserPermissions); }