app/Http/Controllers/ApiAgendaController.php
/**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return AgendaModel
     */
Store a newly created resource in storage.
@param  \Illuminate\Http\Request  $request
@return AgendaModel
Store a newly created resource in storage . @param \ Illuminate \ Http \ Request $request @return AgendaModel
public function store(Request $request)
    {
        $agenda = new AgendaModel($request->all());
        $agenda->save();
        return $agenda;
    }
public function store ( Request $ request ) { $ agenda = new AgendaModel ( $ request -> all ( ) ) ; $ agenda -> save ( ) ; return $ agenda ; }
Store a newly created resource in storage.
Store a newly created resource in storage .