/**
  * @param Request $request
  * @return Response
  *
  * @SWG\Get(
  *      path="/userOngs",
  *      summary="Get a listing of the UserOngs.",
  *      tags={"UserOng"},
  *      description="Get all UserOngs",
  *      produces={"application/json"},
  *      @SWG\Response(
  *          response=200,
  *          description="successful operation",
  *          @SWG\Schema(
  *              type="object",
  *              @SWG\Property(
  *                  property="success",
  *                  type="boolean"
  *              ),
  *              @SWG\Property(
  *                  property="data",
  *                  type="array",
  *                  @SWG\Items(ref="#/definitions/UserOng")
  *              ),
  *              @SWG\Property(
  *                  property="message",
  *                  type="string"
  *              )
  *          )
  *      )
  * )
  */
 public function index(Request $request)
 {
     $this->userOngRepository->pushCriteria(new RequestCriteria($request));
     $this->userOngRepository->pushCriteria(new LimitOffsetCriteria($request));
     $userOngs = $this->userOngRepository->all();
     return $this->sendResponse($userOngs->toArray(), 'UserOngs retrieved successfully');
 }