public function tasks($accountId, $userId, $viewAll) { return Task::scope()->withArchived()->whereIsRunning(true)->get(); }