app/Http/Controllers/Backend/OfferController.php
/**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
Store a newly created resource in storage.
Store a newly created resource in storage .
public function store(OfferRequest $request)
    {
        $all = $request->all();
        Offer::create($all);
        return back()->with('message','Offer Created Successfully');
    }
public function store ( OfferRequest $ request ) { $ all = $ request -> all ( ) ; Offer :: create ( $ all ) ; return back ( ) -> with ( 'message' , 'Offer Created Successfully' ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .
// $all['image'] = (new SimpleUpload) //     ->file($request->image) //     ->dirName('offers') //     ->save();