public function store(PropertyRequest $request)
    {
        $property = Model::create($request->all());

        $this->_saveDropdownOptions($property, $request);

        return redirect()->route('admin.property.index');
    }
public function store(PropertyRequest $request)
    {
        $property = Model::create($request->all());

        $this->_saveDropdownOptions($property, $request);

        return redirect()->route('admin.property.index');
    }
public function store ( PropertyRequest $ request ) { $ property = Model :: create ( $ request -> all ( ) ) ; $ this -> _saveDropdownOptions ( $ property , $ request ) ; return redirect ( ) -> route ( 'admin.property.index' ) ; }
Store a newly created property in database.

@param \AvoRed\Ecommerce\Http\Requests\PropertyRequest $request

@return \Illuminate\Http\Response
Store a newly created property in database .