public function index()
{
$status = request()->query('status');
$pagination_limit = request()->query("pagination_limit");
$business = Business::with('businessOrder')->when($status !== null,
function ($query) use ($status) {
$query->where('status', $status)->orWhere('status', 0);
});
$pagination=$pagination_limit? $business->paginate
($pagination_limit):$business->get();
return (BusinessResource::collection($pagination));
}