public function store(Request $request, Dealsfcf $dealsfcf)
 {
     $dealsfcf = Dealsfcf::create($request->all());
     return response(['data' => $dealsfcf, 'status' => 'success', 'message' => 'successfully created']);
 }
Пример #2
0
 public function store(Request $request, Dealsfcf $dealsfcf)
 {
     Dealsfcf::create($request->all());
     Flash::success('Dealsfcf has been created successFully!');
     return Redirect::back();
 }