/**
  * Store a newly created ReservedRoomDate in storage.
  *
  * @param CreateReservedRoomDateRequest $request
  *
  * @return Response
  */
 public function store(CreateReservedRoomDateRequest $request)
 {
     $input = $request->all();
     $reservedRoomDate = $this->reservedRoomDateRepository->create($input);
     Flash::success('ReservedRoomDate saved successfully.');
     return redirect(route('reservedRoomDates.index'));
 }
 /**
  * Store a newly created ReservedRoomDate in storage.
  * POST /reservedRoomDates
  *
  * @param Request $request
  *
  * @return Response
  */
 public function store(Request $request)
 {
     if (sizeof(ReservedRoomDate::$rules) > 0) {
         $this->validateRequestOrFail($request, ReservedRoomDate::$rules);
     }
     $input = $request->all();
     $reservedRoomDates = $this->reservedRoomDateRepository->create($input);
     return $this->sendResponse($reservedRoomDates->toArray(), "ReservedRoomDate saved successfully");
 }