Example #1
0
 /**
  * Store a newly created resource in storage.
  *
  * @param App\Http\Requests\PostRequest $request        	
  * @return Response
  */
 public function store(SubCategoryRequest $request)
 {
     $this->sub_cat_gestion->store($request->all(), $request->user()->id);
     return redirect('subcat')->with('ok', trans('back/subcat.stored'));
 }
Example #2
0
 /**
  * Store a newly created resource in storage.
  *
  * @param App\Http\Requests\PostRequest $request        	
  * @return Response
  */
 public function store(BannerRequest $request)
 {
     $this->banner_gestion->store($request->all(), $request->user()->id);
     return redirect('banner')->with('ok', trans('back/banner.stored'));
 }