execute(); } if($company->delete()){ // Return single compnay as a resource return new CompanyResource($company); } } }