Esempio n. 1
0
 /**
  * Store a newly created resource in storage.
  *
  * @param  \Illuminate\Http\Request $request
  * @return \Illuminate\Http\Response
  */
 public function store(Request $request)
 {
     $phoneNumber = $request['phoneNumber'];
     $message = $request['message'];
     $this->sms->send($phoneNumber, $message);
     $this->sms->save($request);
     return redirect()->back();
 }
 /**
  * Store a newly created resource in storage.
  *
  * @param  \Illuminate\Http\Request $request
  * @return \Illuminate\Http\Response
  */
 public function store(Request $request)
 {
     $this->repository->receive($request);
     return redirect()->back();
 }