/** * Store a newly created resource in storage. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function store(Request $request) { $this->validate($request, ['DataSourceId' => 'required']); $model = new Property(); $model->fromRequest($request); PropertyBiz::create($model); return Redirect::to('properties'); }