class CompanyResolversImpl implements CompanyResolvers {

    @Override
    public DataFetcher<Company> deleteCompanyDataFetcher() {
        return environment -> {
            long companyId = util.getLongArg(environment, "companyId");

            return companyLocalService.deleteCompany(companyId);
        };
    }

}