public async Task DeleteAsync(ApplicationUser user) { await Task.Run(() => _authDataProvider.DeleteUser(user.User)); }
public void DeleteUser(int id) { _dataProvider.DeleteUser(GetUser(id)); }
public async Task DeleteAsync(ApplicationUser user) { await Task.Run(() => _authDataProvider.DeleteUser(user.User)); }
public void DeleteUser(int id) { _dataProvider.DeleteUser(GetUser(id)); }