예제 #1
0
        public Task DeleteAsync(User user)
        {
            if (user == null)
            {
                throw new ArgumentNullException("user");
            }


            //delete account
            Account account = IdentityUserToModelAccount(user);

            return(Task.FromResult <bool>(_proxy.DeleteAccount(account)));
        }