Example #1
0
        public Task <IList <UserLoginInfo> > GetLoginsAsync(User user)
        {
            if (user == null)
            {
                throw new ArgumentNullException("user");
            }

            return(Task.Factory.StartNew(() =>
            {
                return (IList <UserLoginInfo>)externalLoginRepository.FindLogins(user.Id).Result;
            }));
        }