class ContactResolversImpl implements ContactResolvers {

    @Override
    public DataFetcher<Contact> deleteContactDataFetcher() {
        return environment -> {
            long contactId = util.getLongArg(environment, "contactId");

            return contactLocalService.deleteContact(contactId);
        };
    }

}