app/Http/Controllers/lawyersController.php
/**
     * Store a newly created lawyers in storage.
     *
     * @param CreatelawyersRequest $request
     *
     * @return Response
     */
Store a newly created lawyers in storage.

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