app/Http/Controllers/Admin/incomeController.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(IncomesValidator $request)
    {
        $data = $request->all();
        Income::create($data);
        return redirect()->route('income.index')->with('success', 'Income Created Successfully');
    }
public function store ( IncomesValidator $ request ) { $ data = $ request -> all ( ) ; Income :: create ( $ data ) ; return redirect ( ) -> route ( 'income.index' ) -> with ( 'success' , 'Income Created Successfully' ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .