app/Http/Controllers/CifsController.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(Request $request)
    {
       $cifs= new Cifs();
       $cifs->id=$request->id;
       $cifs->Nombre=$request->Nombre;
       $cifs->Precio=$request->Precio;
       $cifs->Descripcion=$request->Descripcion;
       $cifs->save();
       return redirect()->route('cifs.index');
    }
public function store ( Request $ request ) { $ cifs = new Cifs ( ) ; $ cifs -> id = $ request -> id ; $ cifs -> Nombre = $ request -> Nombre ; $ cifs -> Precio = $ request -> Precio ; $ cifs -> Descripcion = $ request -> Descripcion ; $ cifs -> save ( ) ; return redirect ( ) -> route ( 'cifs.index' ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .
//