/**
  * Show the application dashboard.
  *
  * @return \Illuminate\Http\Response
  */
 public function store(Request $request)
 {
     foreach ($request->except(['_token', '_method']) as $key => $value) {
         $configuration = Configuration::where('configuration_key', '=', $key)->get()->first();
         if (null === $configuration) {
             $data['configuration_key'] = $key;
             $data['configuration_value'] = $value;
             $data['website_id'] = $this->websiteId;
             Configuration::create($data);
         } else {
             $configuration->update(['configuration_value' => $value]);
         }
     }
     return redirect()->back()->with('notificationText', 'All Configuration saved.');
 }