Keep your dogs out of your garden try a small electric fence does the trick it even keeps the horses in the pasture. But there are several smaller types of elec fences for dogs .or there are collars that help train dogs …not to enter areas or bark etc. It is a good reminder to train dogs. Not harmful and is a light little reminder tiny surprise shock doesn’t hurt believe me I have hit a few times. But it is a good reminder not to enter … you can turn it on / off after the pups hit it once usually is all it takes. It’s,a bit startling. Just offering a choice that works around my garden after trying many other alternatives.
Now if I could set up an underground electric gizmo to keep the gopher and moles , voles…. Well you know the drill…