app/Http/Controllers/ContactController.php
/**
     * Admin Store Contact
     *
     * @param Request $request
     * @return void
     */
Admin Store Contact
@param Request $request
@return void
Admin Store Contact @param Request $request @return void
public function AdminStoreContact(Request $request)
    {
        Contact::insert([
            'email' => $request->email,
            'address' => $request->address,
            'phone' => $request->phone,
            'created_at' => Carbon::now()
       ]);
       return Redirect()
           ->route('admin.contact')
           ->with('success', 'Contact Inserted Succesfully');
    }
public function AdminStoreContact ( Request $ request ) { Contact :: insert ( [ 'email' => $ request -> email , 'address' => $ request -> address , 'phone' => $ request -> phone , 'created_at' => Carbon :: now ( ) ] ) ; return Redirect ( ) -> route ( 'admin.contact' ) -> with ( 'success' , 'Contact Inserted Succesfully' ) ; }
Admin Store Contact
 @param Request $request
 @return void
Admin Store Contact @param Request $request @return void