public function addMedicine(Request $request) { $input = $request->all(); medicine::create($input); return redirect('/'); }