parameter('contact'); return $this->where('account_id', auth()->user()->account_id) ->where('contact_id', $contact->id) ->where($this->getRouteKeyName(), $value) ->firstOrFail(); } }