app/Http/Controllers/DistrictsController.php
/**
     * Store a newly created Districts in storage.
     *
     * @param CreateDistrictsRequest $request
     *
     * @return Response
     */
Store a newly created Districts in storage.

@return Response
Store a newly created Districts in storage . @return Response
public function store(CreateDistrictsRequest $request)
    {
        $input = $request->all();
        $districts = $this->districtsRepository->create($input);
        Flash::success('Districts saved successfully.');
        return redirect(route('districts.index'));
    }
public function store ( CreateDistrictsRequest $ request ) { $ input = $ request -> all ( ) ; $ districts = $ this -> districtsRepository -> create ( $ input ) ; Flash :: success ( 'Districts saved successfully.' ) ; return redirect ( route ( 'districts.index' ) ) ; }
Store a newly created Districts in storage.
Store a newly created Districts in storage .