/** * Soft delete employee account * * @param String $username * @return Account */ public function remove($username) { $account = Account::withTrashed()->whereUsername($username)->firstOrFail(); return $account->delete(); }