class MBMessageResolversImpl implements MBMessageResolvers {

    @Override
    public DataFetcher<MBMessage> deleteMBMessageDataFetcher() {
        return environment -> {
            long messageId = util.getLongArg(environment, "messageId");

            return mbMessageLocalService.deleteMBMessage(messageId);
        };
    }

}