public function destroyBusiness($id) { BusinessType::where('id', $id)->delete(); Session::flash('success_message', 'Business Type has been deleted successfully!'); return redirect('config'); }
/** * Display a list of Business Type from Storage * @return array */ public function businessType() { return BusinessType::all()->lists('name', 'name'); }