app/Http/Controllers/Member/ContactController.php
/**
     * Update the specified resource in storage.
     *
     * @param \App\Http\Requests\Member\UpdateContactRequest $request
     * @param \App\Models\Member\Contact $contact
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(UpdateContactRequest $request, Contact $contact)
    {
        try {
            $contact = ContactServices::updateContact($request, $contact);
            return new ContactResource($contact);
        } catch (\Exception $exception) {
            return Helper::exceptionJSON($exception, 422, "Members");
        }
    }
public function update ( UpdateContactRequest $ request , Contact $ contact ) { try { $ contact = ContactServices :: updateContact ( $ request , $ contact ) ; return new ContactResource ( $ contact ) ; } catch ( \ Exception $ exception ) { return Helper :: exceptionJSON ( $ exception , 422 , " Members " ) ; } }
Update the specified resource in storage.
Update the specified resource in storage .