/**
  * @param  User $user
  * @throws GeneralException
  * @return bool
  */
 public function restore(User $user)
 {
     //Failsafe
     if (is_null($user->deleted_at)) {
         throw new GeneralException("This user is not deleted so it can not be restored.");
     }
     if ($user->restore()) {
         event(new UserRestored($user));
         return true;
     }
     throw new GeneralException(trans('exceptions.backend.access.users.restore_error'));
 }