class AssetGroupServiceImpl implements AssetGroupService {

	@Override
	public Page<AssetGroupView> getAllAssetGroupDetails(final String searchTerm, final int page, final int size) {
		return buildAssetGroupView(assetGroupRepository.findAll(searchTerm.toLowerCase(), PageRequest.of(page, size)));
	}

}