public function destroy($id)
    {
        // Get the item.
        $item = call_user_func([$this->getModelClass(), 'findOrFail'], $id);

        // Delete the item.
        $item->delete();

        return $this->generateResponse($this->modelTableName, null, Response::HTTP_OK, Status::OK, 'Item was deleted successfully.');
    }