can i run both types of motors with the boards? or is it a dc only or ac only board
With the limited info you've provided, In a word, NO.
Unless youi're QUITE electronically astute, use a DC drive with a PMDC motor and an AC drive with an AC motor.