app/Http/Controllers/ManagerController.php
/**
     * @param Request $request
     * @param HomeSlider $homeSlider
     * @return RedirectResponse
     */
@param Request $request
@param HomeSlider $homeSlider
@return RedirectResponse
@param Request $request @param HomeSlider $homeSlider @return RedirectResponse
public function sliderUpload(Request $request, HomeSlider $homeSlider)
    {
        $homeSlider->upload($request);
        return redirect('/manager');
    }
public function sliderUpload ( Request $ request , HomeSlider $ homeSlider ) { $ homeSlider -> upload ( $ request ) ; return redirect ( '/manager' ) ; }
@param Request $request
 @param HomeSlider $homeSlider
 @return RedirectResponse
@param Request $request @param HomeSlider $homeSlider @return RedirectResponse