/** * Display a listing of the Discount. * GET|HEAD /discounts * * @return Response */ public function index() { $discounts = $this->discountRepository->all(); return $this->sendResponse($discounts->toArray(), "Discounts retrieved successfully"); }