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))); }