public function destroy($id)
    {
        $address = Address::findOrFail($id);
        $this->authorize('manage', $address);
        $address->delete();
        return fractal($id, new DeletedTransformer())
            ->withResourceName('deletedAddress')
            ->respond();
    }
public function destroy($id)
    {
        $address = Address::findOrFail($id);
        $this->authorize('manage', $address);
        $address->delete();
        return fractal($id, new DeletedTransformer())
            ->withResourceName('deletedAddress')
            ->respond();
    }
public function destroy ( $ id ) { $ address = Address :: findOrFail ( $ id ) ; $ this -> authorize ( 'manage' , $ address ) ; $ address -> delete ( ) ; return fractal ( $ id , new DeletedTransformer ( ) ) -> withResourceName ( 'deletedAddress' ) -> respond ( ) ; }
Delete an Address object

@param  int $id
@return \Illuminate\Http\Response JSON response with UUID of deleted Address
Delete an Address object