toggleStatus() public method

Toggle comment column status.
public toggleStatus ( $id, $column, $value )
$id
$column
$value
 /**
  * Toggle comment seen status.
  *
  * @param Request $request
  * @param $id
  * @return \Illuminate\Http\JsonResponse
  */
 public function seen(Request $request, $id)
 {
     $this->comment->toggleStatus($id, 'seen', $request->input('seen'));
     return response()->json();
 }