public function save(Request $request)
 {
     $this->validate($request, ['email' => 'required|email|max:255']);
     $registro = new Registro();
     $registro->email = $request->email;
     $registro->save();
     return "Registro guardado Ok";
     /*
             if ($validator->fails()) {
     
                 return redirect('formulario')
                             ->withErrors($validator)
                             ->withInput();
             }
     */
     return $input = $request->all();
 }
 public function destroy($id)
 {
     $registro = Registro::find($id);
     $registro->delete();
     Session::flash('message', 'Registro eliminado correctamente!');
     return redirect('registro');
 }